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:
parent
ea3ecdfb68
commit
dcd6ddcdeb
14 changed files with 20 additions and 249 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue