1
0
mirror of https://github.com/ncblakely/GiantsTools synced 2024-11-17 03:55:37 +01:00
GiantsTools/Giants.WebApi/Program.cs

21 lines
525 B
C#
Raw Normal View History

namespace Giants.Web
{
2020-08-09 01:31:16 +02:00
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup<Startup>();
});
}
}