2016-09-06 17:09:19 -07:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.IO;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Microsoft.AspNetCore.Hosting;
|
|
|
|
|
|
2016-09-07 13:52:26 -07:00
|
|
|
|
namespace Microsoft.eShopOnContainers.WebMVC
|
2016-09-06 17:09:19 -07:00
|
|
|
|
{
|
|
|
|
|
public class Program
|
|
|
|
|
{
|
|
|
|
|
public static void Main(string[] args)
|
|
|
|
|
{
|
|
|
|
|
var host = new WebHostBuilder()
|
|
|
|
|
.UseKestrel()
|
|
|
|
|
.UseContentRoot(Directory.GetCurrentDirectory())
|
2016-12-07 13:57:31 +01:00
|
|
|
|
.UseUrls("http://0.0.0.0:5100")
|
2016-12-14 12:15:39 +01:00
|
|
|
|
.UseIISIntegration()
|
2016-09-06 17:09:19 -07:00
|
|
|
|
.UseStartup<Startup>()
|
|
|
|
|
.Build();
|
|
|
|
|
|
|
|
|
|
host.Run();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|