From 6fb05a2a6f94e008dc689291d0522f39f87a6622 Mon Sep 17 00:00:00 2001 From: "ivaylo.zhelev" Date: Sun, 24 Jan 2021 14:45:23 +0200 Subject: Initial Commit - Add all project files --- src/Web/PUSG.Web/Program.cs | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/Web/PUSG.Web/Program.cs (limited to 'src/Web/PUSG.Web/Program.cs') diff --git a/src/Web/PUSG.Web/Program.cs b/src/Web/PUSG.Web/Program.cs new file mode 100644 index 0000000..0bf82e6 --- /dev/null +++ b/src/Web/PUSG.Web/Program.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using Microsoft.AspNetCore.Hosting; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.Hosting; +using Microsoft.Extensions.Logging; + +namespace PUSG.Web +{ + 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(); + }); + } +} -- cgit v1.3.1-26-gb76a