<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mvvm on Garcia's Guide to the Galaxy</title><link>https://rakhama.com/tags/mvvm/</link><description>Recent content in Mvvm on Garcia's Guide to the Galaxy</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 23 May 2026 14:43:39 +1000</lastBuildDate><atom:link href="https://rakhama.com/tags/mvvm/index.xml" rel="self" type="application/rss+xml"/><item><title>Messaging With the MVVM Community Toolkit</title><link>https://rakhama.com/posts/messaging-with-mvvm-community-toolkit/</link><pubDate>Sat, 23 May 2026 14:43:39 +1000</pubDate><guid>https://rakhama.com/posts/messaging-with-mvvm-community-toolkit/</guid><description>&lt;img src="https://rakhama.com/posts/messaging-with-mvvm-community-toolkit/cover_hu_2aee56eeed65a5ba.jpg" /&gt;&lt;p&gt;I&amp;rsquo;ve been doing some work with &lt;a href="https://learn.microsoft.com/en-us/dotnet/maui/"&gt;.NET MAUI&lt;/a&gt; lately.&lt;/p&gt;
&lt;p&gt;I know, I know, it was my idea and I&amp;rsquo;ve only got myself to blame. I&amp;rsquo;ll maybe make another post about how not-very-good .NET MAUI is out of the box and how &lt;a href="https://avaloniaui.net/"&gt;Avalonia UI&lt;/a&gt; is, in my opinion, what it should have been, but this post is about how to use the poorly documented &lt;a href="https://learn.microsoft.com/en-au/dotnet/communitytoolkit/maui/"&gt;MVVM Community Toolkit&lt;/a&gt;&amp;rsquo;s messaging functionality to decouple my app instead of relying on event handlers.&lt;/p&gt;
&lt;p&gt;Long story short, the idea is sound but &lt;a href="https://learn.microsoft.com/en-au/dotnet/communitytoolkit/mvvm/"&gt;the documentation&lt;/a&gt; fails to effectively surface some pretty fundamental implementation details. The &lt;a href="https://aka.ms/mvvmtoolkit/samples"&gt;sample app&lt;/a&gt; doesn&amp;rsquo;t help much more either.&lt;/p&gt;&lt;p&gt;&lt;a href="https://rakhama.com/posts/messaging-with-mvvm-community-toolkit/"&gt;Continue reading &amp;raquo;&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>