What is ViewModel in MVC?
Asked 07 September, 2021
Viewed 3.1K times
  • 60
Votes

I am new to ASP.NET MVC. I have a problem with understanding the purpose of a ViewModel.

What is a ViewModel and why do we need a ViewModel for an ASP.NET MVC Application?

If I get a good example about its working and explanation that would be better.

15 Answer