Book Image

Windows Phone 7.5 Data Cookbook

By : Ramesh Thalli
Book Image

Windows Phone 7.5 Data Cookbook

By: Ramesh Thalli

Overview of this book

Windows Phone 7.5 Mango contains support for apps written in Silverlight or XNA. These apps can store data on the device, and also load and manipulate data from "the cloud" and other web services.This Windows Phone 7.5 Data Cookbook has a range of recipes to help you apply data handling concepts. You will be able to apply the knowledge gained from these recipes to build your own apps effectively. This Windows Phone 7.5 Data Cookbook starts with data binding concepts at the UI layer and then shows different ways of saving data locally and externally in databases. The book ends with a look at the popular MVVM software design pattern. The recipes contained in this book will make you an expert in the areas of data access and storage.
Table of Contents (15 chapters)
Windows Phone 7.5 Data Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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...