
Here, we will have an overview of Startup class contained in Startup.cs in the root folder of the project.
ASP.NET Core application must include Startup class. It is like Global.asax in the traditional .NET application. As the name suggests, it is executed first when the application starts.
The startup class can be configured using UseStartup<T>() method at the time of configuring the host in the Main() method.