2018-05-15 01:34:37 +02:00
|
|
|
|
using Microsoft.AspNetCore;
|
2018-01-27 00:26:37 +01:00
|
|
|
|
using Microsoft.AspNetCore.Hosting;
|
|
|
|
|
|
2021-05-13 14:04:18 +02:00
|
|
|
|
namespace Sieve.Sample
|
2018-01-27 00:26:37 +01:00
|
|
|
|
{
|
2018-05-15 01:34:37 +02:00
|
|
|
|
public static class Program
|
2018-01-27 00:26:37 +01:00
|
|
|
|
{
|
|
|
|
|
public static void Main(string[] args)
|
|
|
|
|
{
|
2018-01-27 06:20:57 +01:00
|
|
|
|
var host = BuildWebHost(args);
|
2018-05-15 01:34:37 +02:00
|
|
|
|
|
2018-01-27 06:20:57 +01:00
|
|
|
|
host.Run();
|
2018-01-27 00:26:37 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static IWebHost BuildWebHost(string[] args) =>
|
|
|
|
|
WebHost.CreateDefaultBuilder(args)
|
|
|
|
|
.UseStartup<Startup>()
|
|
|
|
|
.Build();
|
|
|
|
|
}
|
|
|
|
|
}
|