using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; namespace Sieve.Sample { public static class Program { public static void Main(string[] args) { var host = BuildWebHost(args); host.Run(); } public static IWebHost BuildWebHost(string[] args) => WebHost.CreateDefaultBuilder(args) .UseStartup() .Build(); } }