22 lines
508 B
C#
Raw Normal View History

using Microsoft.AspNetCore.Hosting;
2016-11-24 15:31:33 +01:00
using System.IO;
namespace eShopOnContainers.Identity
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseKestrel()
.UseHealthChecks("/hc")
2016-11-24 15:31:33 +01:00
.UseContentRoot(Directory.GetCurrentDirectory())
.UseIISIntegration()
2016-11-24 15:31:33 +01:00
.UseStartup<Startup>()
.Build();
host.Run();
}
}
}