MVVM Light V3/alpha3 for Blend 3 and Blend Preview 4

The project and item templates allowing you to create pre-wired MVVM Light applications are now also available for Expression Blend 3 and Expression Blend Preview for .NET 4 and Silverlight 4. The installation process is manual, but not difficult at all (unzipping a few files to predefined paths). I did document the installation process here.

Of course the templates are also available for Visual Studio 2008 and Visual Studio 2010, as well as the binaries. The source code is available on Codeplex.

I still have one feature I want to add in V3, and then I will create a release version. Seeing how my schedule is, it will probably be during the holidays. However, V3/alpha 3 is very stable and I didn’t get any error report from users who upgraded. I also don’t think there will be any breaking change. At this point, I would recommend users who want the new features to upgrade to V3.

I will post a list of new features in this version later.

Happy coding!


MVVM Light V3 in Blend Preview for .NET 4 and Silverlight 4

 

Print | posted on Friday, December 04, 2009 9:06 PM

Feedback

# re: MVVM Light V3/alpha3 for Blend 3 and Blend Preview 4

left by Corey Gaudin at 12/7/2009 8:01 AM Gravatar
Indeed Laurent,

I have been using Alpha 3/ V3 for a couple of weeks now, and it is very solid and work extremely well for me. Its actually help me to overcome some hurdles in de-coupling some things.

# re: MVVM Light V3/alpha3 for Blend 3 and Blend Preview 4

left by Recruitment Database Software at 12/8/2009 1:42 AM Gravatar
This will be very helpful in project creation for students as well as working professionals. Thanks for sharing so much information. :)

# re: MVVM Light V3/alpha3 for Blend 3 and Blend Preview 4

left by Nat at 12/15/2009 3:50 AM Gravatar
any thought on the integration with PRISM?

# re: MVVM Light V3/alpha3 for Blend 3 and Blend Preview 4

left by Laurent at 12/19/2009 6:59 AM Gravatar
Hi Nat,

I am not very experienced with PRISM, so I cannot tell much about it. As far as I know, PRISM is very modular, and it should be possible to replace one component (for example EventAggregator) with another from the toolkit (in that case the Messenger). However I am not sure it makes much sense.

Personally, for extensibility, I prefer a combination MEF / MVVM Light and had good success with that.

Hope that helps,
Laurent

# re: MVVM Light V3/alpha3 for Blend 3 and Blend Preview 4

left by Glenn Block at 12/20/2009 10:10 PM Gravatar
I think it does ;-)

You can easily use Messenger in Prism as a replacement for EA. Nothing in Prism depends on EA so there should be no issue. The one big thing EA provides, that I am not sure Messenger supports is automatic thread marshalling.

As far as the other aspects of MVVMLight light the commanding and such, you should also be able to use those in Prism without a hitch.

Lauarent, good job in MVVM Light 3, looking good.

# re: MVVM Light V3/alpha3 for Blend 3 and Blend Preview 4

left by Laurent at 12/21/2009 5:23 AM Gravatar
Hey Glenn,

Yeah my comment about making sense or not is that since there is quite a lot of overlap between the functionality, if you are set to use PRISM anyway, then maybe it makes more sense to use the EV or DelegateCommand anyway. That said, it is great that we have choice and that it is actually easy to replace some components by others.

The toolkit's Messenger does not automatically dispatch to the UI thread indeed, I decided not to add this functionality because it is a bit confusing for the users. Instead, I added a DispatcherHelper class in V3/alpha3, which provides functionality making it easier to deal with the UI dispatcher and to send messages (or execute other methods) from the background thread to the UI thread.

Thanks,
Laurent
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: