2020-03-05 18:49:27 +01:00
|
|
|
|
using System;
|
|
|
|
|
using Microsoft.AspNetCore;
|
2021-05-21 10:43:15 -06:00
|
|
|
|
using Microsoft.AspNetCore.Builder;
|
2020-03-05 18:49:27 +01:00
|
|
|
|
using Microsoft.AspNetCore.Hosting;
|
2021-05-21 10:43:15 -06:00
|
|
|
|
using aspnetapp;
|
|
|
|
|
using Microsoft.Extensions.Hosting;
|
2020-03-05 18:49:27 +01:00
|
|
|
|
|
2021-05-21 10:43:15 -06:00
|
|
|
|
class Program
|
2020-03-05 18:49:27 +01:00
|
|
|
|
{
|
2021-05-21 10:43:15 -06:00
|
|
|
|
public static void Main(string[] args)
|
2020-03-05 18:49:27 +01:00
|
|
|
|
{
|
2021-05-21 10:43:15 -06:00
|
|
|
|
CreateHostBuilder(args).Build().Run();
|
2020-03-05 18:49:27 +01:00
|
|
|
|
}
|
2021-05-21 10:43:15 -06:00
|
|
|
|
|
|
|
|
|
public static IHostBuilder CreateHostBuilder(string[] args) =>
|
|
|
|
|
Host.CreateDefaultBuilder(args)
|
|
|
|
|
.ConfigureWebHostDefaults(webBuilder =>
|
|
|
|
|
{
|
|
|
|
|
webBuilder.UseStartup<Startup>();
|
|
|
|
|
});
|
|
|
|
|
}
|