Summary
Inside Program.cs
, you are able to make app configurations inside the lambdas of the configuration methods, provided you have access to the WebHostBuilderContext
. This way, you can use all the configurations you like to configure WebHostBuilder
.
In the next chapter, we are going to have a look at the hosting details. You will learn about different hosting models and how to host an ASP.NET Core application in different ways.