Which default folder in an ASP.NET Core web application is used to store and serve static files like CSS, JavaScript, and images?
- wwwroot
- Views
- Controllers
- Models
The default folder for storing and serving static files in an ASP.NET Core web application is the 'wwwroot' folder. Files placed in this directory can be directly accessed by clients, making it an ideal location for assets like CSS, JavaScript, and images.
Loading...
Related Quiz
- What is the significance of the @model directive in a Razor view?
- Your team is starting a new project where you have an existing database, and you wish to generate your data models based on this database. Which approach in Entity Framework Core would be most suitable?
- How can you override the default layout specified in the _ViewStart.cshtml for a specific Razor view?
- If you want to set up a project with user authentication mechanisms built-in, which template should you opt for?
- You're building a web application that requires different user roles like "Admin," "User," and "Guest." Using ASP.NET Core Identity, how would you restrict access to certain pages only for the "Admin" role?