The Program.cs class serves as the application's entry point to the world. A static void Main() method is the starting point for an ASP.NET program
The web host that will serve the queries is configured by this Program.cs class.
- The host manages application setup, lifetime, and graceful shutdown
- host also configured the server and a pipeline for processing requests.
- Additionally, the host has the ability to establish dependency injection, configuration, and monitoring.