diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2023-01-31 14:54:32 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2023-01-31 14:54:32 +0300 |
commit | b8fa6f7418c45785767bff42f9857af08fc9d891 (patch) | |
tree | 344c7ddd1f6664176d9388627db5fe03939782b1 /Program.cs |
Initial commit
Diffstat (limited to 'Program.cs')
-rw-r--r-- | Program.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Program.cs b/Program.cs new file mode 100644 index 0000000..8f6a7b7 --- /dev/null +++ b/Program.cs @@ -0,0 +1,9 @@ +var builder = WebApplication.CreateBuilder(args); +builder.Services.AddControllersWithViews(); +var app = builder.Build(); + +app.UseStaticFiles(); +app.MapControllers(); +app.MapDefaultControllerRoute(); + +app.Run();
\ No newline at end of file |