3 WebHost and Build in startup - amshekar/dotnet-core-learning GitHub Wiki
Details of the below required
var host = new WebHostBuilder() .UseKestrel() .UseUrls("http://*:5000") .UseContentRoot(Directory.GetCurrentDirectory()) .UseIISIntegration() .UseStartup() .Build();