This series is a collection of knowledge about ASP .NET Core. It just is my notes.
Part 10: Make an HTTP Request.
Part 12: Authentication and Authorization.
In this part, I got some knowledge about Host and Servers in ASP .Net core
4.1 Host
- Generic host
- Web host
- Host is an object that encapsulates:
- DI
- Logging
- Configuration
- IHostedService implementations
- How to set up a host: Program, Main, CreateHostBuilder
- Default builder setting:
- CreateDefaultBuilder: content root, host configs, app configs, add logging providers
- ConfigureWebHostDefault: host configs, set kestrel server....
- Host configuration: how to do? => ConfigureHostConfiguration
- App configuration: how to do? => ConfigurAppConfiguration
4.2 Server
- Kestrel
- Http.sys
- Hosting model:
- in-process hosting
- out-of-process hosting
References:



0 nhận xét:
Đăng nhận xét