Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
This isn't the latest version of this article. For the current release, see the .NET 11 version of this article.
The ASP.NET Core Module (ANCM) is a native IIS module that plugs into the IIS pipeline, allowing ASP.NET Core applications to work with IIS. Run ASP.NET Core apps with IIS by either:
- Hosting an ASP.NET Core app inside of the IIS worker process (
w3wp.exe), called the in-process hosting model. - Forwarding web requests to a backend ASP.NET Core app running the Kestrel server, called the out-of-process hosting model.
There are trade-offs between each of the hosting models. By default, the in-process hosting model is used due to better performance and diagnostics.
For more information and configuration guidance, see the following topics:
Install ASP.NET Core Module (ANCM)
The ASP.NET Core Module (ANCM) is installed with the .NET Core Runtime from the .NET Core Hosting Bundle. The ASP.NET Core Module is forward and backward compatible with in-support releases of .NET.
Breaking changes and security advisories are reported on the Announcements repo. Announcements can be limited to a specific version by selecting a Label filter.
Download the installer using the following link:
Current .NET Core Hosting Bundle installer (direct download)
For more information, including installing an earlier version of the module, see Hosting Bundle.
For a tutorial experience on publishing an ASP.NET Core app to an IIS server, see Publish an ASP.NET Core app to IIS.
Related content
- Host ASP.NET Core on Windows with IIS
- Deploy ASP.NET Core apps to Azure App Service
- ASP.NET Core Module reference source [default branch (main)]: Use the Branch drop down list to select a specific release (for example,
release/3.1). - IIS modules with ASP.NET Core
ASP.NET Core