Sieve/SieveTests/Program.cs

21 lines
447 B
C#
Raw Normal View History

2018-05-15 01:34:37 +02:00
using Microsoft.AspNetCore;
2018-01-27 00:26:37 +01:00
using Microsoft.AspNetCore.Hosting;
namespace SieveTests
{
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();
}
}