Free Sample
+ Collection

Windows Phone 7.5 Data Cookbook

Cookbook
Ramesh Thalli

Over 30 recipes for storing, managing, and manipulating data in Windows Phone 7.5 Mango applications.
$23.99
$39.99
RRP $23.99
RRP $39.99
eBook
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849691222
Paperback224 pages

About This Book

  • Simple data binding recipes to advanced recipes for building scalable applications
  • Techniques for managing application data in Windows Phone mango apps
  • On-device data storage, cloud storage and API interaction.

 

Who This Book Is For

This book is for developers who want to build data-driven apps, or a line of business applications using the Windows Phone platform. It is also useful for developers on other mobile platforms looking to convert their apps to Windows Phone 7.5 Mango. Basic understanding of C#, XAML and Silverlight is required.

Table of Contents

Chapter 1: Data Binding to UI Elements
Introduction
Element binding
DataContext
Data Templates
How DataMode is used
Converting data for display
Building a simple app
Chapter 2: Isolated Storage
Introduction
Saving user settings
Opening and creating a file
Saving username and password to a local store
Saving a background image to local storage
Chapter 3: XML as a Data Store
Introduction
Opening a local XML file
Navigating the XML file
Opening a remote XML file
Object serialization to XML
Chapter 4: Using Open Data
Introduction
Consuming OData services
Searching OData services
CRUD operations with OData
Chapter 5: Using On-Device Databases
Introduction
Overview of SQLite Studio
SQLite Client as an embedded database
Using SQLite as a local store for the MyTasks App
SQL CE as a local store
McObject Perst as an embedded object database
Chapter 6: Representational State Transfer—REST
Introduction
Consuming RSS Feeds
Using the Twitter API
Building a simple REST service
Chapter 7: Windows Communication Framework—WCF
Introduction
Writing and consuming a simple web service
Building a service layer using WCF
WCF using ADO.NET Entity Framework
Using LINQ to SQL for creating the service
Chapter 8: Model View ViewModel
Introduction
Simple MVVM application
Using MVVM Light Toolkit
Updating the MVVM application

What You Will Learn

  • Create data binding to user interface elements with any data source
  • Create and save user settings to local isolated storage for later consumption.
  • Explore different on device database options such as commercial Perst, open source SQLite and Microsoft’s SQL CE.
  • Create and consume simple web services and understand LINQ features.
  • Scale the applications and work with WCF web services.
  • Understand REST and call different social media services like Twitter and RSS Feeds.
  • Create and understand MVVM model.

 

In Detail

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.

Authors

Read More