concept static void Main in category asp.net

appears as: static void Main
ASP.NET Core in Action, Second Edition

This is an excerpt from Manning's book ASP.NET Core in Action, Second Edition.

All ASP.NET Core applications start in the same way as .NET Console applications—with a Program.cs file. This file contains a static void Main function, which is a standard characteristic of console apps. This method must exist and is called whenever you start your web application. In ASP.NET Core applications, it’s used to build and run an IWebHost instance, as shown in the following listing, which shows the default Program.cs file. The IWebHost is the core of your ASP.NET Core application, containing the application configuration and the Kestrel server that listens for requests and sends responses.