mirror of
https://github.com/valentincanonical/eShopOnWeb-chisel-demo.git
synced 2026-05-12 03:16:35 +00:00
23 lines
550 B
C#
23 lines
550 B
C#
using System.IO;
|
|
using Microsoft.AspNetCore.Hosting;
|
|
|
|
namespace Microsoft.eShopWeb
|
|
{
|
|
public class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
var host = new WebHostBuilder()
|
|
.UseKestrel()
|
|
.UseUrls("http://0.0.0.0:5106")
|
|
.UseContentRoot(Directory.GetCurrentDirectory())
|
|
.UseIISIntegration()
|
|
.UseStartup<Startup>()
|
|
.UseApplicationInsights()
|
|
.Build();
|
|
|
|
host.Run();
|
|
}
|
|
}
|
|
}
|