Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Web / PUSG.Web / Program.cs
diff options
context:
space:
mode:
Commit6fb05a2a6f94e008dc689291d0522f39f87a6622 (patch)
Author
 ivaylo.zhelev <ivaylo.zhelev@solarwinds.com>
2021-01-24 14:45:23 +0200
Committer
 ivaylo.zhelev <ivaylo.zhelev@solarwinds.com>
2021-01-24 14:45:23 +0200
Files845087b1419336f526b68678d92d090c1076a132 /src/Web/PUSG.Web/Program.cs
pusg-api-6fb05a2a6f94e008dc689291d0522f39f87a6622.tar
pusg-api-6fb05a2a6f94e008dc689291d0522f39f87a6622.tar.gz
pusg-api-6fb05a2a6f94e008dc689291d0522f39f87a6622.zip
Parentd62fcf4e8af0705756bcf159588c0e5eeab1a56d (diff)
Initial Commit - Add all project files
1 files changed, 26 insertions, 0 deletions
-rw-r--r--src/Web/PUSG.Web/Program.cs26
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<Startup>();
+ });
+ }
+}