Articles → ASP .NET CORE → How Asp.Net Core Serves Static Content

How Asp.Net Core Serves Static Content






Static File Middleware




app.UseStaticFiles();



What Is The Location Of Static Files?





Example




Picture showing the sample HTML file in the wwwroot folder




Picture showing browsing the HTML page when static file middle ware is enabled




Picture showing browsing the HTML page when static file middle ware is disabled



Posted By  -  Karan Gupta
 
Posted On  -  Friday, August 23, 2024

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250