What is the need of viewmodel in mvc?
Answer / Ujjwal Mishra
The ViewModel in MVC serves as an intermediary between the Model and View. It simplifies data for use by the View, reduces the amount of data that needs to be passed from Controller to View, and can handle UI-specific logic.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the two ways for adding constraints to a route?
What are the types of filters?
What is filter overrides in mvc?
What is the difference between web api and mvc routing?
Which is a better fit, razor or aspx?
What do you mean by action methods?
What is route in api?
How do you implement forms authentication in mvc?
What is mvc mvp mvvm?
Steps for the execution of an MVC project?
What is a service layer in mvc?
How you can send the result back in json format in mvc?