2017-08-29 11:02:18 +02:00
|
|
|
|
using Microsoft.AspNetCore;
|
2016-09-06 17:09:19 -07:00
|
|
|
|
using Microsoft.AspNetCore.Hosting;
|
|
|
|
|
|
2016-09-07 13:52:26 -07:00
|
|
|
|
namespace Microsoft.eShopOnContainers.Services.Ordering.API
|
2016-09-06 17:09:19 -07:00
|
|
|
|
{
|
|
|
|
|
public class Program
|
|
|
|
|
{
|
|
|
|
|
public static void Main(string[] args)
|
|
|
|
|
{
|
2017-08-29 11:02:18 +02:00
|
|
|
|
BuildWebHost(args).Run();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static IWebHost BuildWebHost(string[] args) =>
|
|
|
|
|
WebHost.CreateDefaultBuilder(args)
|
2016-12-17 14:41:16 +01:00
|
|
|
|
.UseStartup<Startup>()
|
2016-09-06 17:09:19 -07:00
|
|
|
|
.Build();
|
|
|
|
|
}
|
|
|
|
|
}
|