We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

Is there a new version of the HttpPlatformHandler for IIS 10 (Nano Server) [Answered]RSS

2 replies

Last post Dec 29, 2015 09:45 PM by guardrex

  • Is there a new version of the HttpPlatformHandler for IIS 10 (Nano Server)

    Dec 28, 2015 12:29 AM|guardrex|LINK

    I've been able to spin up an Azure Nano Server TP4 VM, install IIS, and get the default website to load. I'm running into issues with getting a .NET 5 app running ...

    I have the HttpPlatformHandler (v1.2) module in the inetserv directory, and I added the following three lines to the applicationHost.config file ...

    In: <configSections><sectionGroup name="system.webServer">
    Added: <section name="httpPlatform" overrideModeDefault="Allow" />

    In: <system.webServer><globalModules>
    Added: <add name="httpPlatformHandler" image="%windir%\System32\inetsrv\httpPlatformHandler.dll" />

    In: <system.webServer><modules>
    Added: <add name="httpPlatformHandler" />

    ... but the effect of these additions is to crash the AppPool for the default app, even if the default app hasn't been swapped for a .NET 5 app. If I reverse the changes, the default app works and loads the iisstart.htm page normally.

    I have a sneaky suspicion you have a new, required version of the HttpPlatformHandler coming for IIS 10 ... or if not, can you provide some tips to get HttpPlatformHandler bits in place for IIS 10 on Nano? I know there is no MSI on Nano, but is there an installer for this module for Nano?

    [EDIT] I installed Reverse Forwarders, too. Same result ... crashes the AppPool.

    [EDIT] I'm attempting this in the non-container scenario. I do see the video at https://channel9.msdn.com/Series/Nano-Server-Team/Demo-Nano-Server-in-a-Container-running-IIS-ASPNET5 with the use of containers; however, I would think that there will be a desire by many for the non-container scenario, and I would like to get that baseline established first (if it's possible to do so).

    httpplatformhandler IIS10 nanoserver

  • Re: Is there a new version of the HttpPlatformHandler for IIS 10 (Nano Server)

    Dec 28, 2015 07:42 AM|lextm|LINK

    Nano server is still a TP. That means you will have to be very patient.

    httpplatformhandler IIS10 nanoserver

    Lex Li
    Want to have a chat on the issues you meet? Find me at https://booktime.xyz/p/lextm
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Is there a new version of the HttpPlatformHandler for IIS 10 (Nano Server)

    Dec 29, 2015 09:45 PM|guardrex|LINK

    I found out that HttpPlatformHander v1.2 does work ... the Reverse Handlers package is required until libuv (the library under Kestrel) receives updates for OneCore. The schema file for the HttpPlatformHandler is also required. I was also not unlocking the handlers section properly. The official document for ASP.NET 5 on Nano Server is pending and will eventually appear at https://docs.asp.net/en/latest/tutorials/nano-server.html

    httpplatformhandler IIS10 nanoserver