liveBook · Manning

Framework-dependent deployment

As explained in Building Web APIs with ASP.NET Core

A .NET publishing and deployment mode in which an application requires a compatible .NET runtime installed on the target system.

Framework-dependent deployment publishes an application that requires a compatible .NET runtime installed on the target system. The deployment package contains the application and third-party dependencies, but not .NET itself. section 12.1.5

This mode involves practical trade-offs:

  • Produces a small deployment bundle because the target machine supplies the .NET runtime. section 12.1.5
  • Uses the latest installed compatible runtime by default, including its security patches. section 12.1.5
  • Can reduce storage and memory use when several .NET applications share a hosting server. section 12.1.5
  • Depends on runtime compatibility; an older server runtime can prevent the application from starting, and runtime changes can affect stability. section 12.1.5

Running an ASP.NET Core API on IIS

Install IIS, then install the ASP.NET Core Windows Hosting Bundle. The bundle supplies the .NET runtime, ASP.NET Core runtime, and ASP.NET Core IIS module needed to run an ASP.NET Core web API with framework-dependent publishing. Restart IIS after installation. section 12.3.2

How Building Web APIs with ASP.NET Core covers it

How deep it goes
Defines package contents, benefits, compatibility risks, and IIS prerequisites without detailing publishing commands.
Examples
Uses an ASP.NET Core web API hosted by IIS with the ASP.NET Core Windows Hosting Bundle installed.
What it assumes
Assumes IIS is installed and requires a compatible .NET runtime, ASP.NET Core runtime, and IIS module on the target system.
What you can do after
Operate/configure an ASP.NET Core API on IIS by preparing the required runtime and hosting components.
How it connects
Contrasts with self-contained deployment and connects to .NET runtime hosting, ASP.NET Core, IIS, and multihosting.

Also explained in

Compare how 2 books explain framework-dependent deployment →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Building Web APIs with ASP.NET Core. The section links point to the parts of the book it draws on.