Windows Phone 7.5 Data Cookbook

Over 30 recipes for storing, managing, and manipulating data in Windows Phone 7.5 Mango applications.

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.
$10.00
$39.99
RRP $23.99
RRP $39.99
eBook
Print + eBook
$29.99 p/month

Find out more

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3500+ 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.

+ Collection
Free Sample

Book Details

ISBN 139781849691222
Paperback224 pages

Book Description

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

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.

 

Authors

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

Book Details

ISBN 139781849691222
Paperback224 pages
Read More

Read More Reviews

Recommended for You

Windows Phone 7.5 Application Development with F#
$ 10.00
Instant Windows PowerShell
$ 10.00
Beginning C++ Game Programming
$ 10.00