Using MVVM Light Toolkit
Sometimes, MVVM can have too many layers and become complex. So to avoid this we can use frameworks or toolkits, which will make it easy to start. There were many toolkits available at the time of writing this book. A simple and popular toolkit is MVVM Light Toolkit, which helps us build MVVM quickly and contains only the essential components. In this recipe let's build a sample using this toolkit.
Getting ready
Before we start creating a recipe, let's download the MVVM Light Toolkit from the following URL: http://mvvmlight.codeplex.com/. Download the latest version and save it to your local folder. If you are using Vista or Windows 7, you should unblock the files by right-clicking and selecting Properties. Then, click on the Unblock button in the General tab at the bottom. Check the website for more instructions on how to manually install the software. After successfully installing it, open the new project and you should see the MvvmLight (WP7) template as shown...