If you want to serve static files in ASP.NET Core, you need to use the _______ middleware.

  • StaticFiles
  • Routing
  • Authentication
  • DependencyInjection
In ASP.NET Core, serving static files like HTML, CSS, JavaScript, and images is accomplished using the StaticFiles middleware. This middleware allows you to efficiently serve these files directly without going through the MVC routing system.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *