I am trying to use this MVVM template template with a tutorial: http://www.codeproject.com/KB/WPF/MVVMQuickTutorial.aspx This seems to work for Visual Studio 2008, but what about Visual Studio 2010? I'm trying to install the "WPF Model-View-Modem Viewlodek Toolkit" template, but according to some reviewers in the Codepeax project, this project seems to be reset by Microsoft or an error? Sorry, but I'm confused. I canโt get direct answers to what is best for developing a WPF application according to Microsoft. Is the MVVM template not suitable for the updated Visual Studio 2010 environment using C #?
What is the best and most modern template for WPF in Visual Studio 2010 using C #? Can anyone send a decent easy end to the end of the tutorial on this? I like to download code samples and design decisions. Thanks a billion
MVVM is a template, that is, an agnostic language. You can apply it in java, C ++, vb etc.The tutorial / demo may not work in C # 4, but the principles will be the same.
Are you having trouble understanding a specific point?
There is a great toolkit called MVVM Light that works great in Visual Studio 2010.
There is a ton of information on this: http://www.galasoft.ch/mvvm/
This tutorial is likely to be especially useful: http://www.galasoft.ch/mvvm/creating/
Jesse Liberty also has an excellent series: http://jesseliberty.com/2011/01/04/wpfs-mvvm-light-toolkit-soup-to-nuts-part-i/
I use this and it works great in visual studio 2010.
You want to try http://mvvmpsample.codeplex.com its solution VS2010
The following blog posts explain what it is:
I found this template very useful. It has a useful predefined class, such as NotificationObject, that handles RaisePropertyChanged calls, passing the field itself, not a string (very useful), as well as DelegateCommand and some converters. It has some sample XAML code to show how things are also connected.