Code execution order

The Startup class is executed only once during an application's lifespan, right after the web server has loaded the ASP.NET Core application.

The following screenshot shows the order of execution of the different methods in the classes involved in ASP.NET Core initialization:

The Startup class is not the place to put any code other than initialization and configuration code.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.135.225