3
MVVM for Maintainability and Testability
When building XAML-based applications, one of the most important design patterns to learn is the MVVM pattern. MVVM provides a clear separation of concerns between the XAML markup in the view and the C# code in the View Model using data binding. With this separation comes ease of maintenance and testability. The View Model classes can be tested without taking a dependency on the underlying User Interface (UI) platform. For large teams, another benefit of this separation is that changing the XAML enables UI designers to work on the UI independently of developers who specialize in writing the business logic and the backend of the application.
In this chapter, you will learn about the following concepts: ...
Get Learn WinUI 3 - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.