MVVM Light Toolkit V3 Alpha 3 for WPF4/SL4

Update: The templates are also available for Expression Blend 3 and Expression Blend Preview for .NET 4 and Silverlight 4.

4084199726_d1cc8527aa_o[1]

I just published the latest alpha version of the MVVM Light Toolkit. I will post more about the new features in this alpha version, but the most exciting is probably that with this release, the MVVM Light Toolkit works in Windows Presentation Foundation 4 and in Silverlight 4 (in Visual Studio 2010).

There is no automatic installer for this version yet, but I wrote a page describing how to install manually (it is as easy as unzipping a few files). All the features are also available for Visual Studio 2008 as usual.

The source code was also updated on the Codeplex website.

More documentation will follow soon so stay tuned. In the mean time, have fun with MVVM in WPF4/SL4!

 

Print | posted on Monday, November 30, 2009 10:56 AM

Feedback

# re: MVVM Light Toolkit V3 Alpha 3 for WPF4/SL4

left by Martin Hinshelwood at 12/15/2009 10:28 PM Gravatar
How about a VB version :)

# re: MVVM Light Toolkit V3 Alpha 3 for WPF4/SL4

left by Laurent at 12/17/2009 4:55 AM Gravatar
Hey Martin,

This is planned. You are right to remind me, I need to get to it.

Cheers,
Laurent

# re: MVVM Light Toolkit V3 Alpha 3 for WPF4/SL4

left by Mitch Thraves at 12/29/2009 1:17 AM Gravatar
Hi Laurent,

Any rough timeframe for the VB.Net version?

Regards

Mitch

# re: MVVM Light Toolkit V3 Alpha 3 for WPF4/SL4

left by Frank at 1/8/2010 11:07 PM Gravatar
Hey guys ! Laurent did a fantastic job, of course his code is C#, any serious project is done in C#.
Do you really mean than someone using VB can be interested in design pattern and best practices ? Rule #1 of best practices since more than 20 years is "do not use basic" ! Just follow the 1st rule and all will be fine :-)
(I love kidding, of course. A bit.)

# re: MVVM Light Toolkit V3 Alpha 3 for WPF4/SL4

left by Laurent at 1/9/2010 1:01 AM Gravatar
LOL Frank, your judgement about VB is your own and I won't comment on that :) But thanks for the kind words!

Mitch, porting the toolkit to VB is planned, but I won't be able to do it myself (I am no VB man). Contributions are welcomed: Download the source code from Codeplex (http://mvvmlight.codeplex.com/SourceControl/list/changesets). I will be happy to host the VB code and write about it when done.

What needs to be translated in VB is the ProjectForTemplates project and the ItemTemplates project. As far as I know, the library can remain in C#. I already have a translation for the snippets.

If you translate these 2 projects, I will be able to export the templates and update the installer.

Let me know!
Laurent

# re: MVVM Light Toolkit V3 Alpha 3 for WPF4/SL4

left by Charlie at 1/21/2010 5:58 PM Gravatar
I'm sorry but I really was forced to post a reply for the guy dogging VB. It's really funny you say that seeing as C# & VB are almost exactly == as far as capabilities, and if I wanted to use C# I would use JAVA way before C#. I guess an inexperienced tech like yourself thinks hes better for writing C#. I would love to do a code challenge with you in basic and see how good you really are. Thanks Charlie

# re: MVVM Light Toolkit V3 Alpha 3 for WPF4/SL4

left by Laurent at 1/21/2010 8:18 PM Gravatar
Charlie,

While I, in essence, agree with you that bashing VB is not constructive, I am sure that Frank was just yanking your chain, and apparently succeeded in touching a sensitive nerve. I regret that and understand your reaction, but let's keep it civil.

After reflection, I decided to leave your post on this thread, but I will not let this become a C# vs VB flame war. Other posts on the topic will be removed.

Thanks,
Laurent

# re: MVVM Light Toolkit V3 Alpha 3 for WPF4/SL4

left by Dave at 7/28/2010 4:22 AM Gravatar
So, have anyone ported this over to VB?

# re: MVVM Light Toolkit V3 Alpha 3 for WPF4/SL4

left by Bryan at 8/6/2010 3:37 AM Gravatar
I just checked the source code out from codeplex and there's no VB version in there so I suppose not. Maybe I'll have time to look at it this weekend. I'm no c# guy by any stretch of the imagination but maybe with the help of one of the online c# to vb code converters I can bang something out. No promises though.

# re: MVVM Light Toolkit V3 Alpha 3 for WPF4/SL4

left by Bryan at 8/7/2010 12:04 PM Gravatar
I just translated those two projects, ProjectForTemplates and ItemTemplates. Let me know how to get the translated projects to you. It was really easy once I figured out the couple of lines where it looks like you're incrementing a variable with the results of a lambda expression were actually setting up event handlers.

# re: MVVM Light Toolkit V3 Alpha 3 for WPF4/SL4

left by Laurent at 8/7/2010 3:07 PM Gravatar
Hi Bryan,

Very nice, thanks so much for the help! I am planning a new release of MVVM Light soon (first I need to work on my book, but I am reaching the end, yay). I will happily integrate the VB templates in this new release and give you all due credit :)

I sent you an email with my contact info.

Cheers,
Laurent

# re: MVVM Light Toolkit V3 Alpha 3 for WPF4/SL4

left by jcq at 11/16/2010 3:31 PM Gravatar
Any news about the VB template since august?

Thanks,
Jean-claude

# re: MVVM Light Toolkit V3 Alpha 3 for WPF4/SL4

left by Tim Elery at 12/15/2010 6:08 PM Gravatar
What happened to the VB templates????

# re: MVVM Light Toolkit V3 Alpha 3 for WPF4/SL4

left by Barry Franklin at 9/12/2011 2:49 PM Gravatar
It would be nice if the VB version would be released. Some people don't mind working in either VB or C#, but are forced to work in VB due to what the company says. It is really lonely out here in the cold!

# re: MVVM Light Toolkit V3 Alpha 3 for WPF4/SL4

left by jon at 11/6/2011 9:53 PM Gravatar
I would second the support for VB in all templates!
When will the version with the vb template becomes available?

# re: MVVM Light Toolkit V3 Alpha 3 for WPF4/SL4

left by jon at 11/6/2011 9:56 PM Gravatar
Sorry I made a mistake I just wanted to say :
When will the version with the vb template becomes available?
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: