Website Summary Files Commits Branches @commit @diff @stats
path: root / src / DevHive.Web / Program.cs
diff options
context:
space:
mode:
Commit1ccdefdac025b1b986ad2bd0bc3eda7505d6e7c3 (patch)
Author
 transtrike <transtrike@gmail.com>
2020-12-14 21:14:35 +0200
Committer
 transtrike <transtrike@gmail.com>
2020-12-14 21:14:35 +0200
Files415b514b8bbb86530f2c4e9f0a7287b8580347e5 /src/DevHive.Web/Program.cs
DevHive-1ccdefdac025b1b986ad2bd0bc3eda7505d6e7c3.tar
DevHive-1ccdefdac025b1b986ad2bd0bc3eda7505d6e7c3.tar.gz
DevHive-1ccdefdac025b1b986ad2bd0bc3eda7505d6e7c3.zip
The Base Line
1 files changed, 26 insertions, 0 deletions
-rw-r--r--src/DevHive.Web/Program.cs26
diff --git a/src/DevHive.Web/Program.cs b/src/DevHive.Web/Program.cs
new file mode 100644
index 0000000..3967a71
--- /dev/null
+++ b/src/DevHive.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 DevHive.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>();
+ });
+ }
+}