To serve static files, one must configure the necessary _________ in the Startup.cs file.
- Middleware
- Route
- Controller
- Model
To serve static files in ASP.NET Core, you need to configure the necessary middleware in the "Startup.cs" file. Middleware is a key concept in ASP.NET Core for handling requests and responses.
Loading...
Related Quiz
- When you want to send a JSON response from your controller, which action result type should you utilize?
- In ASP.NET Core, the _________ directory is conventionally used to store static files.
- When leveraging the power of client-side validation in Razor forms, the unobtrusive _________ validation library is often used in conjunction with jQuery.
- You're trying to locate your application's main CSS files in an ASP.NET Core project. In which directory would you typically find them?
- In SignalR, which transport method does it fall back to if WebSockets are not available?