Sieve/SieveTests/Program.cs

28 lines
644 B
C#
Raw Normal View History

2018-01-27 00:26:37 +01:00
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace SieveTests
{
public class Program
{
public static void Main(string[] args)
{
2018-01-27 06:20:57 +01:00
var host = BuildWebHost(args);
host.Run();
2018-01-27 00:26:37 +01:00
}
public static IWebHost BuildWebHost(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>()
.Build();
}
}