This article explains how to reduce coupling between ViewModels in MVVM applications by combining an INavigationService to handle window navigation with the MVVM Toolkit’s WeakReferenceMessenger for communication. Instead of directly referencing views or other ViewModels, each ViewModel sends and receives lightweight messages (e.g., for closing windows or deleting items), making components easier to maintain, test, and extend.
Month: August 2022
Troubles with converters and x:Bind in UWP
I was working with the WPF project, converted to UWP in this article, in order to check usage of the new MVVM toolkit, explained in my last article and use the bindings…
The MVVM Pattern revisited with the MVVM Community Toolkit 8.0
Sometime ago, I’ve written this article introducing the MVVM Community Toolkit and developing a CRUD application to show how to use the MVVM pattern with the Community toolkit. The time has passed…