aboutsummaryrefslogtreecommitdiff
path: root/ExamTemplate/Web/Program.cs
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-05-06 18:18:47 +0300
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-05-06 18:18:47 +0300
commit6fedb4158836e6bf8d0e6190bc8fd36f188ac60d (patch)
tree008b43c7b07b5a76430d163b0bf30f9b50726aa5 /ExamTemplate/Web/Program.cs
parent628307b05165bb8c1faf82f3e9ab0c0053832e48 (diff)
downloadit-kariera-exam-template-6fedb4158836e6bf8d0e6190bc8fd36f188ac60d.tar
it-kariera-exam-template-6fedb4158836e6bf8d0e6190bc8fd36f188ac60d.tar.gz
it-kariera-exam-template-6fedb4158836e6bf8d0e6190bc8fd36f188ac60d.zip
Added gitignore and initial project generation
Diffstat (limited to 'ExamTemplate/Web/Program.cs')
-rw-r--r--ExamTemplate/Web/Program.cs26
1 files changed, 26 insertions, 0 deletions
diff --git a/ExamTemplate/Web/Program.cs b/ExamTemplate/Web/Program.cs
new file mode 100644
index 0000000..fb68b7f
--- /dev/null
+++ b/ExamTemplate/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 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>();
+ });
+ }
+}