concept ASP.NET core web application in category .net

appears as: n ASP.NET Core web application
.NET Core in Action

This is an excerpt from Manning's book .NET Core in Action.

Listing 2.4. Program.cs for an ASP.NET Core web application
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;                        #1


namespace hwwebapp
{
  public class Program
  {
    public static void Main(string[] args)
    {
        BuildWebHost(args).Run();
    }

    public static IWebHost BuildWebHost(string[] args) =>
      WebHost.CreateDefaultBuilder(args)                   #2
        .UseStartup<Startup>()                             #3
        .Build();
    }
  }
}