0.Program.cs using System.IO; using Microsoft.AspNetCore.Hosting; namespace WebApplication1 { public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() .UseKestrel() .UseContentRoot(Directory.GetCurrentDirectory(