summaryrefslogtreecommitdiff
path: root/DSACore/Program.cs
diff options
context:
space:
mode:
authorTrueDoctor <d-kobert@web.de>2018-09-26 19:18:41 +0200
committerTrueDoctor <d-kobert@web.de>2018-09-26 19:18:41 +0200
commit92e8bb7523c775014ccf68355e3f0178ebf4a61c (patch)
treec68840e084740c890fe85cf2e4a7356115a1b0be /DSACore/Program.cs
parent0d8ae32d2f974ad6139a55e6e0d97d785fb13489 (diff)
implemented fudamental Web Api
Diffstat (limited to 'DSACore/Program.cs')
-rw-r--r--DSACore/Program.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/DSACore/Program.cs b/DSACore/Program.cs
new file mode 100644
index 0000000..373a39e
--- /dev/null
+++ b/DSACore/Program.cs
@@ -0,0 +1,24 @@
+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 DSACore
+{
+ public class Program
+ {
+ public static void Main(string[] args)
+ {
+ CreateWebHostBuilder(args).Build().Run();
+ }
+
+ public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
+ WebHost.CreateDefaultBuilder(args)
+ .UseStartup<Startup>();
+ }
+}