Top "Viewmodel" questions

A view model or viewpoints framework is a framework which defines a coherent set of views to be used in the construction of an architecture.

What is ViewModel in MVC?

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

asp.net-mvc viewmodel
Ignore mapping one property with Automapper

I'm using Automapper and I have the following scenario: Class OrderModel has a property called 'ProductName' that isn't in the …

c# model viewmodel automapper object-object-mapping
How to bind WPF button to a command in ViewModelBase?

I have a view AttributeView that contains all sorts of attributes. There's also a button that when pressed, it should …

c# wpf mvvm command viewmodel
Two models in one view in ASP MVC 3

I have 2 models: public class Person { public int PersonID { get; set; } public string PersonName { get; set; } } public class Order { public …

asp.net-mvc-3 viewmodel
ASP.NET MVC Model vs ViewModel

OK, I have been hearing discussion about "ViewModels" in regards to MS's ASP.NET MVC. Now, that is intended to …

asp.net-mvc asp.net-mvc-2 model viewmodel
ASP.NET MVC 2 - Html.DropDownListFor confusion with ViewModel

I'm getting totally lost and confused on how to use the new strongly typed Html.DropDownListFor helper on ASP.NET …

asp.net-mvc asp.net-mvc-2 drop-down-menu viewmodel html-helper
How to update LiveData of a ViewModel from background service and Update UI

Recently I am exploring Android Architecture, that has been introduced recently by google. From the Documentation I have found this: …

android viewmodel background-service android-room android-architecture-components
Cannot resolve symbol ViewModelProviders on AppCompatActivity

Hey I'm trying to get my ViewModel working, but no luck so far. Android Studio shows error Cannot resolve symbol …

android viewmodel android-architecture-components
MVC 3 form post and persisting model data

I think I'm missing some fundamentals on how MVC forms work. I have a search form on my home page …

c# asp.net-mvc forms viewmodel
ASP.Net MVC and state - how to keep state between requests

As a fairly experienced ASP.Net developer just recently starting using MVC, I find myself struggling a bit to change …

asp.net-mvc action viewmodel state