The default convention in ASP.NET Core MVC looks for views in the _________ folder.
- Views
- Models
- Controllers
- Pages
In ASP.NET Core MVC, the default convention for locating views is in the "Views" folder within the project's directory structure. Views contain the markup and templates used to generate the HTML or other output sent to the client's browser.
Loading...
Related Quiz
- For a Web API, you're required to ensure that only authenticated users can access specific endpoints, but some endpoints should be public. How would you achieve this in ASP.NET Core?
- In a situation where you're building a single-page application (SPA) with a default index.html, which middleware ensures that the file is served when a user accesses the root URL?
- In ASP.NET Core, if you want to serve static files like images, CSS, and JavaScript, you need to add the _________ middleware.
- Imagine you're developing an ASP.NET Core application on a machine without any internet access. Which tool, among the following, allows you to install NuGet packages from a local feed or folder?
- The _______ directive in _ViewImports.cshtml is used to include a namespace across multiple Razor views.