Download Contents

The installer will create a SimpleMvvmToolkit directory in your Program Files folder, which contains the following folder structure:

Binaries
- Silverlight
- Windows Phone
- WPF 

Libraries
> DLLs from Blend SDK
> DLLs for Silverlight Unit Testing

 Samples
> SimpleMvvm-Samples.zip

Source 
> SimpleMvvm-Source.zip

Documentation (link) 
Simple Mvvm Toolkit Home (link)
Tony Sneed's Technical Blog (link)
ReadMe.txt
SimpleMvvm-32wp.reg

NOTE: You only need to execute  SimpleMvvm-32wp.reg if you are developing Windows Phone apps on a 32-bit operating system.

The installer will also copy Visual Studio project template, item templates, code snippets and xml snippets to the Templates and Code Snippets directory in the following location: Documents \ Visual Studio 2010.  Project templates will appear in the Visual Studio New Project dialog.  Item templates will appear in the Visual Studio New Item dialog.  To insert code snippets, right click on a line of code and select Insert \ Code Snippet from the context menu.  To insert xml snippets into a XAML file, you need to right-click on the XAML file in the Solution Explorer, then select Open With and choose the XML Editor.  Once the XAML file is open in the XML Editor, you can right-click in the xaml and select Insert \ XML Snippet.

The Samples folder has two categories of samples: Main and Other.  Main contains a 3 part series of real-world end-to-end Silverlight applications.  Other contains a series of smaller samples, each focused on a particular feature of the toolkit.

NOTE: The Visual Studio solutions in each of the samples has a reference to the SimpleMvvmToolkit source project.  You can preserve the relative reference by extracting the Silverlight, Windows Phone and WPF folders in SimpleMvvm-Source.zip to a Toolkit\Helpers\Project folder, where Toolkit is on the same level as the Samples folder.  You can also simply remove the SimpleMvvmToolkit project and re-add it, or simply remove the project and add a direct reference to the SimpleMvvmToolkit assembly.

In the Sample\SimpleMvvm-Main folder you'll find a sample application with Before and After versions and detailed step-by-step instructions for using the Simple Mvvm Toolkit. It's easier to follow the directions if you go to Tools / Options / Environment / Task List and create a custom STEP token. Visual Studio will then display each STEP (non-alphabetically) in the Comments category. Just double click on a STEP to go to that line of code. These are synchronized with each STEP in the ReadMe.txt and Code.txt files.

The sample in Part 2 of SimpleMvvm-Main demonstrates additional features of the toolkit, such as navigation, messaging, property associations, and async.  Part 3 simply ports the sample app to use WCF RIA Services.

The Sample\SimpleMvvm-Other folder contains a SimpleMvvm-Async sample that shows how to use a Notify method that can be called from a worker thread so that the view can display a dialog on the UI thread. There is a SimpleMvvm-AssociateProps sample that shows how to associate properties in the view-model with properties in the model, so that the UI elements bound to the view-model will update when the underlying model changes. There is a SimpleMvvm-EnumList that populates a combo box with values from an enum, as well samples for messaging, navigation, and dependency injection for unit testing.  The SimpleMvvm-RiaServices solution shows how to use the toolkit to build a Silverlight MVVM application that communicates with WCF RIA Services.

Also, there are sample apps for using the toolkit with both WPF and Windows Phone 7.

Last edited Apr 14, 2011 at 1:33 PM by tonysneed, version 7

Comments

No comments yet.