Open Tratcher opened 8 years ago
Latest AspNetCoreModule is now part of Server installers. You can download the server MSI from: https://www.microsoft.com/net/download. Search for "Windows (Server Hosting)". This includes .NET shared runtime as well as latest ANCM.
Background
In beta8 and rc1 ASP.NET Core Applications hosted in IIS employed a native IIS module, HttpPlatformHandler v1.2, to forward requests to the ASP.NET Core Kestrel Server.
What's Changing?
Going forward we're moving to the ASP.NET Core Module, a new native IIS module, to forward requests to Kestrel.
Why?
We have added Asp.Net specific features, where HttpPlatformHandler was a generic reverse forwarder.
What's new?
AspNetCoreModule v0.8 is based on a fork of HttpPlatformHandler 1.2. Most viable is the rename of the module and associated config entries to avoid conflicts with the existing module. We've also fixed several bugs and added the following features:
Download the new ASP.NET Core Module v0.8
What won't work yet?
There is no tooling support in Visual Studio yet (as of 3/25). In the meantime you'll need to use
dotnet publish
from the command line and run the application with full IIS. dotnet-publish-iis is also in the process of being updated so some manual web.config manipulation may be necessary.The module will be deployed to Azure Web Sites in the coming weeks.
Changes to your app
New package dependency
There is a new package
Microsoft.AspNetCore.Server.IISIntegration
that contains the extension methods to work with ASP.NET Core Module. This replacesMicrosoft.AspNetCore.IISPlatformHandler
. Note that as part of https://github.com/aspnet/IISIntegration/issues/122 we have removed theMicrosoft.AspNetCore.IISPlatformHandler
package from our repository and we will no longer be building new versions of it. However, we will retain the old package on our feed until the module is deployed to Azure Web Sites.Changes to
Startup.cs
Register the new
AspNetCoreModule
in yourweb.config
See https://github.com/aspnet/IISIntegration/issues/105 for discussion.