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