How to rename or use different "wwwroot" folder for static files in ASP.NET Core Project | Infologs

Опубликовано: 03 Октябрь 2024
на канале: Infologs
3,967
23

#infologs #AspNetCore #tutorial
The wwwroot folder in the ASP.NET Core project is treated as a web root folder. Static files can be stored in any folder under the web root and accessed with a relative path to that root.

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 can be served over an http request. All other files are blocked and cannot be served by default. visit below link for full article:
https://www.infologs.in/tutorials/16/...

ASP.NET Core Tutorial Video Series:
   • ASP.NET Core Introduction with Visual...  

1) ASP.NET Core Introduction
Article - https://www.infologs.in/tutorials/16/...
Video -    • ASP.NET Core Introduction with Visual...  

2) ASP.NET Core Environment Setup
Article - https://www.infologs.in/tutorials/16/...
Video -    • ASP.NET Core Environment Setup | Info...  

3) ASP.NET Core New Project Structure
Article1 - https://www.infologs.in/tutorials/16/...
Article2 - https://www.infologs.in/tutorials/16/...
Video -    • ASP.NET Core New Project Structure | ...  

4) ASP.NET Core New Project Structure Understanding
Article - https://www.infologs.in/tutorials/16/...
Video -    • How to rename or use different "wwwro...  

5) How to read appsettings.json file with multiple way in ASP.NET Core
Article1 - https://www.infologs.in/tutorials/16/...
Article2 - https://www.infologs.in/tutorials/16/...
Video -    • How to read "appsettings.json" file w...  

6) Learn Command Line Interface (CLI) for Build, Run and Publish in .NET Core
Article - https://www.infologs.in/tutorials/16/...
Video -    • Learn Command Line Interface (CLI) fo...  

7) ASP.NET Core Dependency Injection & Configuration of Singleton, Scoped & Transient Service Lifetime
Article - https://www.infologs.in/tutorials/16/...
Video -    • ASP.NET Core Dependency Injection & S...  

8) What is IoC Container in ASP.NET Core
Article - https://www.infologs.in/tutorials/16/...
Video -    • What is IoC Container in ASP.NET Core...  

9) What is Middleware in ASP.NET Core
Article - https://www.infologs.in/tutorials/16/...
Video -    • What is Middleware in ASP.NET Core - ...  

10) How to create custom Middleware in ASP.NET Core Request Pipeline - Part 2
Article - https://www.infologs.in/tutorials/16/...
Video -    • How to create custom Middleware in AS...  

For more videos visit
------------------------------------------------------------------------
https://www.infologs.in/
   / webboostings  
http://infologs-devzone.blogspot.in/

Follow us on social media
-------------------------------------------------------------------------.
  / infologsin  
  / infologsin  
  / infologs  

Download Project from
--------------------------------------------------------------------------
https://www.infologs.in/
https://github.com/infologs/

Thanks
Infologs Team