In an ASP.NET Core project, which folder typically contains static files like images, scripts, and stylesheets?
- Controllers
- Views
- Models
- wwwroot
The correct answer is wwwroot. In ASP.NET Core, the wwwroot folder is the designated location for storing static web assets such as images, scripts, and stylesheets. These assets can be directly accessed by clients, making it a convenient place to store files that need to be served to the browser without going through a controller or action.
Loading...
Related Quiz
- Which feature in ASP.NET Core Identity is used to specify the minimum length for user passwords?
- What advantage does the "Web Application (Model-View-Controller)" template offer over the "Web Application" template in terms of structuring the application?
- Your team lead mentions the use of a "_Layout.cshtml" file in your ASP.NET Core project. What is the primary role of this file?
- If an action within a controller with [Authorize] should be accessible without authorization, you can use the [_________] attribute.
- While Visual Studio is a full-fledged IDE, _________ is a lightweight, cross-platform code editor that supports ASP.NET Core development.