aboutsummaryrefslogtreecommitdiff
path: root/Server/Program.cs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadevchavali1@gmail.com>2019-02-18 16:40:24 +0000
committerAryadev Chavali <aryadevchavali1@gmail.com>2019-02-18 16:40:24 +0000
commite91a06475da796ee2393af174ee31c702a2c8966 (patch)
tree3a12311af9f7b2afbd8a036a5d38601ca4483fb6 /Server/Program.cs
parent2b42bf3dfada947d3ef73c1d292f4bc1da7bcb00 (diff)
parentc94ca254d8ed2a4f29f49f5de0a8e542c73230b7 (diff)
downloadnewsaggregator-e91a06475da796ee2393af174ee31c702a2c8966.tar.gz
newsaggregator-e91a06475da796ee2393af174ee31c702a2c8966.tar.bz2
newsaggregator-e91a06475da796ee2393af174ee31c702a2c8966.zip
Changed merge
Diffstat (limited to 'Server/Program.cs')
-rw-r--r--Server/Program.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/Server/Program.cs b/Server/Program.cs
new file mode 100644
index 0000000..9db50bb
--- /dev/null
+++ b/Server/Program.cs
@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Threading.Tasks;
+using Microsoft.AspNetCore;
+using Microsoft.AspNetCore.Hosting;
+using Microsoft.Extensions.Configuration;
+using Microsoft.Extensions.Logging;
+
+namespace Server {
+ public class Program {
+ public static void Main(string[] args) {
+ CreateWebHostBuilder(args).Build().Run();
+ }
+
+ public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
+ WebHost.CreateDefaultBuilder(args)
+ .UseStartup<Startup>();
+ }
+}