Restructure project shared files and update layout paths

Rename '_Shared' directory to 'Shared' to improve project structure
Update layout and view location references accordingly
Clean up unnecessary files and standardize project organization
This commit is contained in:
Janus C. H. Knudsen 2026-02-03 19:13:03 +01:00
parent ea3ecdfb68
commit dcd6ddcdeb
14 changed files with 20 additions and 249 deletions

View file

@ -37,8 +37,8 @@ public class Startup
})
.AddRazorOptions(options =>
{
options.ViewLocationFormats.Add("/Features/_Shared/Pages/{0}.cshtml");
options.ViewLocationFormats.Add("/Features/_Shared/Components/{1}/{0}.cshtml");
options.ViewLocationFormats.Add("/Features/Shared/Pages/{0}.cshtml");
options.ViewLocationFormats.Add("/Features/Shared/Components/{1}/{0}.cshtml");
});
services.AddAntiforgery(x => x.HeaderName = "X-ANTI-FORGERY-TOKEN");