ASP.NET MVC: what mechanic returns ViewModel objects?
- by Dr. Zim
As I understand it, Domain Models are classes that only describe the data (aggregate roots). They are POCOs and do not reference outside libraries (nothing special).
View models on the other hand are classes that contain domain model objects as well as all the interface specific objects like SelectList. A ViewModel includes using…