Chapter 6: 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 and 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 for 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 hosting layer of the ASP.NET Core architecture:

Figure 6.1 – ASP.NET Core architecture

Figure 6.1 ...

Get Customizing ASP.NET Core 6.0 - Second Edition 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.