For your startup, you want to create a site that has both user interfaces for customers and APIs for mobile apps. Which ASP.NET Core template would you select?
- Razor Pages
- Empty
- Web API
- MVC
The ASP.NET Core MVC template is the best choice for creating a site with user interfaces for customers and APIs for mobile apps. MVC allows you to build web applications with separate components for the user interface and the API, providing a clear separation of concerns and scalability for your startup's needs.
Loading...
Related Quiz
- In Razor, how can you escape the "@" symbol if you need to display it as a literal in your view?
- Which ASP.NET Core method is used to return a Razor view from a controller action?
- The @ symbol in a Razor view is used to denote the beginning of ________.
- You're noticing that despite having global exception handling set up in your ASP.NET Core application, certain exceptions aren't being caught. What might be a plausible reason for this behavior and how can you ensure all exceptions are captured?
- To use tag helpers in a Razor view, you need to add the _________ directive at the beginning of your view.