using System; using Microsoft.AspNetCore.Hosting; namespace aspnetcoreapp { public static class Program { public static void Main(string[] args) { string message = ""; var host = new WebHostBuilder() .UseKestrel() .UseStartup() .Build(); host.Run(); } } }