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
This chapter tackles the following topics of the server architecture:
Figure 12.2 – ASP.NET server architecture