Demystifying the Program and Startup classes in ASP.NET Core
Program and Startup are the main classes for configuring .NET applications. Learn how to use them in ASP.NET Core 6.
Ihostbuilder Createhostbuilder Webapplication Createbuilder Configureservices Iservicecollection Your Program Program Class Services Addcontrollers
Source: infoworld.com