(#17) How to rename wwwroot folder name in ASP.NET Core

Опубликовано: 03 Ноябрь 2024
на канале: Jayant Tripathy
1,648
18

#aspnetcore #renamewwwroot
How to rename wwwroot folder name in ASP.NET Core
This video demonstrate how to rename wwwroot folder name in ASP.NET Core.

Find the Blog in below link

https://corespider.com/lesson/how-to-...

In the standard ASP.NET application, static files can be served from the root folder of an application or any other folder under it. This has been changed in ASP.NET Core. Now, only those files that are in the web root – wwwroot folder that only can be served over an http request. All other files are blocked and cannot be served by default.

By default, the wwwroot folder in the ASP.NET Core application is treated as a web root folder. The static files are recommended to store in different folders like images are in “images“, css files are into “css” folders and Javascript files are in “js” folder like in the below image.


Don't forget to subscribe to "CoreSpider" !

Website : https://www.corespider.com/
Facebook :   / corespider  
Twitter :   / corespiderpro  
Instagram :   / corespider  
Github : https://github.com/corespider