Chapter 12: Using Different Hosting Models

In this chapter, we will talk about how to customize hosting in ASP.NET Core. We will look into the hosting options, different kinds of hosting, and take a quick look at hosting on IIS. This chapter is just an overview. It is possible to go into much greater detail as regards each topic, but that would fill a complete book on its own!

In this chapter, we will be covering the following topics:

  • Setting up WebHostBuilder
  • Setting up Kestrel
  • Setting up HTTP.sys
  • Hosting on IIS
  • Using NGINX or Apache on Linux

The topics in this chapter refer to the Host layer of the ASP.NET Core architecture:

Figure 12.1 – ASP.NET Core architecture

Figure 12.1 ...

Get Customizing ASP.NET Core 5.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.