Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Why do we need viewmodel in mvc?



Why do we need viewmodel in mvc?..

Answer / Neha Jauhari

We need a ViewModel in MVC for several reasons: it simplifies the communication between the View and the Model by providing a simpler, more manageable interface; it allows us to encapsulate application-specific logic within the ViewModel, reducing the complexity of both the View and the Controller; and it facilitates data binding between the View and the Model.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MVC Model View Controller Interview Questions

What is the difference between adding routes, to a webform application and an mvc application?

1 Answers  


What is the difference between asynchronous and synchronous actions? When would you use asynchronous actions?

1 Answers  


What is the use of mvc?

1 Answers  


What are the types of filters?

1 Answers  


What is mvc flow?

1 Answers  


What is the benefit of using mvc?

1 Answers  


What are the features of mvc5?

1 Answers  


What do you mean by corpus?

1 Answers  


What is difference between mvc and mvvm?

1 Answers  


Where is routeconfig in mvc?

1 Answers  


What are the settings to be done for the Routing to work properly in an MVC application ?

1 Answers   Cognizant,


What is afterFilter() used?

1 Answers   HCL,


Categories