2019-12-08 06:23:50 +03:00
|
|
|
|
using Microsoft.AspNetCore.Hosting;
|
|
|
|
|
using Microsoft.Extensions.Hosting;
|
2018-07-16 06:21:45 +03:00
|
|
|
|
|
|
|
|
|
namespace parrot
|
|
|
|
|
{
|
|
|
|
|
public class Program
|
|
|
|
|
{
|
|
|
|
|
public static void Main(string[] args)
|
|
|
|
|
{
|
2019-12-08 06:23:50 +03:00
|
|
|
|
CreateHostBuilder(args).Build().Run();
|
2018-07-16 06:21:45 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-08 06:23:50 +03:00
|
|
|
|
public static IHostBuilder CreateHostBuilder(string[] args) =>
|
|
|
|
|
Host.CreateDefaultBuilder(args)
|
|
|
|
|
.ConfigureWebHostDefaults(webBuilder =>
|
|
|
|
|
{
|
|
|
|
|
webBuilder.UseStartup<Startup>();
|
|
|
|
|
});
|
2018-07-16 06:21:45 +03:00
|
|
|
|
}
|
|
|
|
|
}
|