You are building a small website using ASP.NET Core MVC. For displaying data to the users, which component of the MVC pattern should you focus on?
- Model
- View
- Controller
- Routing
In the MVC (Model-View-Controller) pattern, the "View" component is responsible for displaying data to users. It defines the structure and layout of the web pages, presenting data from the model in a user-friendly format. Controllers handle the request processing, but views handle the presentation of data to the users.
Loading...
Related Quiz
- You're learning about ASP.NET Core and come across the term "middleware." What role does middleware play in the processing of a web request?
- How can you restrict an action method to respond only to HTTP POST requests in ASP.NET Core MVC?
- In SignalR, which transport method does it fall back to if WebSockets are not available?
- You want to use a database with your ASP.NET Core web application. Which ORM (Object-Relational Mapping) framework is natively supported by ASP.NET Core for this purpose?
- What is the purpose of the UseMvc method in the Startup.cs file?