Built-in Middleware Components in ASP.NET Core | Day 8 | Dot Net Tutorials | Pranaya Rout

257 views Mar 12, 2024

Built-in Middleware Components in ASP.NET Core | Day 8 | Dot Net Tutorials | Pranaya Rout | Online Training What is wwwroot folder in ASP.NET Core? By default, the wwwroot folder in the ASP.NET Core Web Application is treated as the webroot folder, and this folder or directory should be present in the project root directory. In ASP.NET Core Web Application, the Static files can be stored in any folder under the webroot (wwwroot) folder and can be accessed with a relative path to that root. Where must we store the Static Files in ASP.NET Core (.NET 6)? In ASP.NET Core Application, the default directory or location for the static files is the wwwroot (webroot) folder; moreover, this folder or directory should be in the project root folder. By default, this is the only place where the ASP.NET Core application can serve the static files directly. But we can change this default behavior using the WebApplicationOptions Instance and WebRootPath property. At the end of this video, you will understand the following pointers. wwwroot Folder in ASP.NET Core Where do we need to store the static files in ASP.NET Core? What is wwwroot folder in ASP.NET Core? How to Configure Static Files Middleware in ASP.NET Core Web Application? How to use your own Webroot folder? How to Configure Default Page in ASP.NET Core What is Developer Exception Page Middleware? How to use Developer Exception Page Middleware in ASP.NET Core Application? How to Customize the UseDeveloperExceptionPage Middleware in ASP.NET Core? Where do we need to configure the UseDeveloperExceptionPage Middleware?

#Internet & Telecom