IIS 7 and Above
Is there a new version of the HttpPlatformHandler for IIS 10 (Nano Se...
Last post Dec 29, 2015 09:45 PM by guardrex
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" />
Added: <add name="httpPlatformHandler" image="%windir%\System32\inetsrv\httpPlatformHandler.dll" />
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).
Dec 28, 2015 07:42 AM|lextm|LINK
Nano server is still a TP. That means you will have to be very patient.
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