August 2017
Intermediate to advanced
330 pages
7h 26m
English
In ASP.NET Core, the Startup class gets called when webHostBuilder runs from Main(), and is required for all applications.
It's the first line of execution when any request comes, or a response is returned. It performs a bunch of operations, like providing the dependency injection, adding and using various middleware components, and so on.
The Startup.cs class must define the Configure and ConfigureServices methods; they will be called when the host starts running.
Read now
Unlock full access