Tuesday, January 30, 2018

ASP.NET Core Applications with IIS

Publishing and Running ASP.NET Core Applications with IIS - Rick Strahl's Web Log

"When you build ASP.NET Core applications and plan on running them on IIS, you'll find that .NET Core applications in IIS work radically different than previous versions of ASP.NET....

The most important thing to understand about hosting ASP.NET Core (both based on .NET Core and .NET 4.x) is that it runs as a standalone, out of process Console application. It's not hosted inside of IIS and it doesn't need IIS to run. ASP.NET Core applications have their own self-hosted Web server and process requests internally using this self-hosted server instance."

"Install the .NET Core Windows Server Hosting bundle on the hosting system. The bundle installs the .NET Core Runtime, .NET Core Library, and the ASP.NET Core Module. The module creates the reverse proxy between IIS and the Kestrel server."

"HTTP.sys server (formerly called WebListener) won't work in a reverse proxy configuration with IIS. Use the Kestrel server."

No comments: