Probably the most common server for the application deployment will be Internet Information Server (IIS). It actually happens that IIS merely acts as a reverse proxy, directing HTTP/HTTPS traffic to the .NET Core host. IIS hosting supports Windows 7 and above. It requires the ASP.NET Core Module, installed by default with Visual Studio 2019 and the .NET Core SDK.
Why would you use IIS rather than just Kestrel or HTTP.sys? IIS offers some more options to you, such as the following:
- Authentication: You can easily set up Windows authentication, for example.
- Logging: You can configure IIS to produce logs for all accesses.
- Custom response: IIS can serve different pages per HTTP response code.
- Security: You can set up HTTPS for your site, and it's easy to configure SSL certificates—IIS Manager even generates dummy ones.
- Management: It provides easy management, even from remote servers...