Search⌘ K
AI Features

Model-View-Update

Explore the Model-View-Update (MVU) pattern in this lesson, which combines the View and ViewModel into a single component for simpler, efficient UI management. Understand how state is represented and updated immutably, and see a practical example of building an interactive taxi ride counter app using MVU in .NET MAUI.

Model-View-Update (MVU) is an architectural pattern consisting of the following components:

  • Model (also known as State) is the object that represents the state of the application (or a part of the application).

  • A View is an object that contains the definition of the view and its visual state. A difference between a View from MVU and a View from MVVM is that the MVU View acts as a View and ViewModel combined. ...