liveBook · Manning

Application publishing

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

Application publishing is the process of producing the files and configuration required to deploy an application to a hosting environment.

Application publishing produces the files and configuration needed to deploy an ASP.NET Core application to a hosting environment. It differs from running the application with dotnet run: publishing prepares the app for a remote server where users can access it. section 27.0

A practical publishing workflow includes:

  • Publish the application instead of copying development output. section 27.0
  • Choose a hosting arrangement, often placing the application behind a reverse proxy. section 27.0
  • For Windows hosting, configure IIS and copy the published application into its hosting folder. section 27.2

Publishing to IIS

A Windows deployment can use IIS as the reverse proxy. Create an IIS application pool and website, apply the configuration required for ASP.NET Core, and copy the published application to IIS’s hosting folder. section 27.2

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

How deep it goes
Explains the publishing-versus-running distinction and basic IIS deployment, while deferring detailed IIS configuration.
Examples
Uses dotnet run, a remote server, IIS application pools, IIS websites, and a hosting folder.
What it assumes
Starts with an existing ASP.NET Core application and distinguishes deployment from previously learned application construction.
What you can do after
Operate/configure a basic ASP.NET Core deployment behind IIS by publishing files and configuring an application pool and website.
How it connects
Connects ASP.NET Core hosting with reverse proxies, IIS, and deployment.

Also explained in

Compare how 2 books explain application publishing →

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.