diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2023-05-30 07:18:47 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2023-05-30 07:30:44 +0300 |
commit | 81c1fc0c14253457c3c4fc24735e787ace1db70b (patch) | |
tree | fed58558300250876657fe6f9b0880af6d11f9f0 /Program.cs | |
parent | 55b30fc75acb554770dc171b5ea54ad821b81d00 (diff) |
Add index razor page
Diffstat (limited to 'Program.cs')
-rw-r--r-- | Program.cs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -26,12 +26,14 @@ builder.Services.Configure<IdentityOptions>( opts => }); builder.Services.AddControllersWithViews(); +builder.Services.AddRazorPages(); var app = builder.Build(); app.UseStaticFiles(); app.MapControllers(); app.MapDefaultControllerRoute(); +app.MapRazorPages(); app.UseAuthentication(); app.UseAuthorization(); |