Squirrowse/Squirrowse.Web/Program.cs

19 lines
492 B
C#
Raw Normal View History

2019-11-06 17:02:06 +01:00
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace Squirrowse.Web
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
2019-11-07 11:52:27 +01:00
public static IHostBuilder CreateHostBuilder(string[] args)
{
return Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup<Startup>(); });
}
2019-11-06 17:02:06 +01:00
}
2019-11-07 11:52:27 +01:00
}