liveBook · Manning

ASP.NET Core Windows Hosting Bundle

As explained in ASP.NET Core in Action, 3e

The ASP.NET Core Windows Hosting Bundle is a Windows installation package that includes the runtimes and IIS integration components needed to host ASP.NET Core applications.

The ASP.NET Core Windows Hosting Bundle prepares Windows and IIS to run ASP.NET Core applications. It installs the .NET Runtime, ASP.NET Core Runtime, and IIS AspNetCore Module, which connects IIS to the application as a reverse proxy. section 27.2.1 section 27.5

Use the bundle when:

  • Hosting an ASP.NET Core application behind IIS on Windows. section 27.2.1
  • Running IIS on a development machine; missing components can produce confusing IIS errors. section 27.2.1
  • Deploying framework-dependent or self-contained applications; the IIS AspNetCore Module is still required for IIS hosting. section 27.2.1

Basic IIS setup

Install the bundle, create an IIS application pool with .NET CLR set to No Managed Code, and add a website pointing to the published application folder. Deploy the generated web.config with the application files, then grant the pool identity access to that folder. section 27.2.1 section 27.5

Figure 27.5 Creating an app pool in IIS for your ASP.NET Core app. The .NET CLR version should be set to No Managed Code.
CH27_F05_Lock3

Use the IIS application-pool figure to verify that the pool uses No Managed Code. section 27.2.1

How ASP.NET Core in Action, 3e covers it

How deep it goes
Explains installed components and IIS configuration, but stops short of detailed installer or troubleshooting procedures.
Examples
Uses an IIS application pool, published application folder, website, and deployed web.config as setup artifacts.
What it assumes
Assumes Windows IIS and a published ASP.NET Core application, while distinguishing runtime needs from build-time .NET CLI needs.
What you can do after
Operate/configure IIS to run a published ASP.NET Core application with the required runtimes and native module.
How it connects
Connects ASP.NET Core Runtime, .NET Runtime, IIS, reverse proxy, application pools, publishing, and web.config.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of ASP.NET Core in Action, 3e. The section links point to the parts of the book it draws on.