Windows Phone 7.5 Data Cookbook
|Also available on:|
- 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.
Book DetailsLanguage : English
Paperback : 224 pages [ 235mm x 191mm ]
Release Date : October 2011
ISBN : 1849691223
ISBN 13 : 9781849691222
Author(s) : Ramesh Thalli
Topics and Technologies : All Books, Mobile, Cookbooks
Table of ContentsPreface
Chapter 1: Data Binding to UI Elements
Chapter 2: Isolated Storage
Chapter 3: XML as a Data Store
Chapter 4: Using Open Data
Chapter 5: Using On-Device Databases
Chapter 6: Representational State Transfer—REST
Chapter 7: Windows Communication Framework—WCF
Chapter 8: Model View ViewModel
- Chapter 1: Data Binding to UI Elements
- Element binding
- Data Templates
- How DataMode is used
- Converting data for display
- Building a simple app
- Chapter 2: Isolated Storage
- 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
- Opening a local XML file
- Navigating the XML file
- Opening a remote XML file
- Object serialization to XML
- Chapter 4: Using Open Data
- Consuming OData services
- Searching OData services
- CRUD operations with OData
- Chapter 5: Using On-Device Databases
- 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
- Consuming RSS Feeds
- Using the Twitter API
- Building a simple REST service
- Chapter 7: Windows Communication Framework—WCF
- 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
- Simple MVVM application
- Using MVVM Light Toolkit
- Updating the MVVM application
Download the code and support files for this book.
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
What you will learn from this book
- 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.
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.
The book is written in a cookbook style, presenting examples in the style of recipes, allowing you to go directly to your topic of interest, or follow topics throughout a chapter to gain in-depth knowledge.
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.