Chapter 11: Configuring WebHostBuilder
When reading Chapter 4, Configuring and Customizing HTTPS with Kestrel, you might have asked yourself, How can I use user secrets to pass the password to the HTTPS configuration? You might even be wondering whether you can fetch the configuration from within Program.cs.
In this chapter, we're going to answer this question through the following topic:
- Re-examining
WebHostBuilderContext
The topics in this chapter refer to the Host layer of the ASP.NET Core architecture:
Figure 11.1 – ASP.NET Core architecture