Jul 24 2010

Messaging in Silverlight with MVVM Light

[Update 07/25]

There are two important things to point out on this post (thanks to the guidance from the MVVM Light toolkit author Laurent).  First, if you are solely using the messsaging component and not using the DispatcherHelper, then there is no need to Initialize it.  The second is that your message class does not need to inherit from the MessageBase class.  You can, in fact, send any class thru the messaging system.

These two changes simplify this post quite a bit.  Which, in my opinion, only validates the power and flexibility of the toolkit messaging.

[/Update 07/25]

Being an avid Silverlight developer, I love the MVVM pattern and the benefits of using it.  That being the case, I have used several different frameworks to help with the MVVM plumbing.  However, I keep coming back to my favorite, GalaSoft’s MVVM Light Toolkit.  This toolkit does a great job of handling a lot of the MVVM plumbing code for you, making it much easier to get your applications up and running using the MVVM pattern.

Continue reading