Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Web / PCC.Web / Program.cs
diff options
context:
space:
mode:
1 files changed, 20 insertions, 0 deletions
-rw-r--r--src/Web/PCC.Web/Program.cs20
diff --git a/src/Web/PCC.Web/Program.cs b/src/Web/PCC.Web/Program.cs
new file mode 100644
index 0000000..0132a8b
--- /dev/null
+++ b/src/Web/PCC.Web/Program.cs
@@ -0,0 +1,20 @@
+using Microsoft.AspNetCore.Hosting;
+using Microsoft.Extensions.Hosting;
+
+namespace PCC.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>();
+ });
+ }
+}