Windows Phone 7.5 Data Cookbook
eBook - ePub

Windows Phone 7.5 Data Cookbook

  1. 224 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Windows Phone 7.5 Data Cookbook

About this book

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.

Approach

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.

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

Windows Phone 7.5 Data Cookbook


Table of Contents

Windows Phone 7.5 Data Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Data Binding to UI Elements
Introduction
Element binding
Getting ready
How to do it...
How it works...
There's more...
See also
DataContext
Getting ready
How to do it…
How it works...
There's more...
How to export the project as a template
See also
Data Templates
Getting ready
How to do it...
How it works...
There's more...
See also
How DataMode is used
Getting ready
How to do it...
How it works...
There's more...
See also
Converting data for display
Getting ready
How to do it...
How it works...
There's more...
See also
Building a simple app
Getting ready
How to do it...
How it works...
There's more...
See also
2. Isolated Storage
Introduction
Saving user settings
Getting ready
How to do it...
How it works...
There's more...
See also
Opening and creating a file
Getting ready
How to do it...
How it works...
There's more...
See also
Saving username and password to a local store
Getting ready
How to do it...
How it works...
There's more...
See also
Saving a background image to local storage
Getting ready
How to do it...
How it works...
There's more...
See also
3. XML as a Data Store
Introduction
Opening a local XML file
Getting ready
How to do it...
How it works...
There's more...
Parsing XML using the XmlReader class
See also
Navigating the XML file
Getting ready
How to do it…
How it works...
There's more...
See also
Opening a remote XML file
Getting ready
How to do it…
How it works...
There's more...
See also
Object serialization to XML
Getting ready
How to do it...
How it works...
There's more...
See also
4. Using Open Data
Introduction
Consuming OData services
Getting ready
How to do it...
How it works...
There's more...
Using Reference to create the proxy class
See also
Searching OData services
Getting ready
How to do it...
How it works...
There's more...
Different parameters supported by Netflix OData
See also
CRUD operations with OData
Getting ready
How to do it...
How it works...
There's more...
OData Explorer
See also
5. Using On-Device Databases
Introduction
Overview of SQLite Studio
Getting ready
How to do it...
How it works...
There's more...
See also
SQLite Client as an embedded database
Getting ready
How to do it...
How it works...
There's more...
See also
Using SQLite as a local store for the MyTasks App
Getting ready
How to do it...
How it works...
See also
SQL CE as a local store
Getting ready
How to do it...
How it works...
There's more...
Creating and deleting data in SQL CE using LINQ to SQL
See also
McObject Perst as an embedded object database
Getting ready
How to do it...
How it works...
There's more...
See also
6. Representational State Transfer—REST
Introduction
Consuming RSS Feeds
Getting ready
How to do it...
How it works...
There's more...
See also
Using the Twitter API
Getting ready
How to do it...
How it works...
There's more...
See also
Building a simple REST service
Getting ready
How to do it...
How it works...
There's more...
See also
7. Windows Communication Framework—WCF
Introduction
Writing and consuming a simple web service
Getting ready
How to do it...
How it works...
There's more...
See also
Building a service layer using WCF
Getting ready
How to do it...
How it works...
There's more...
See also
WCF using ADO.NET Entity Framework
Getting ready
How to do it...
How it works...
There's more...
See also
Using LINQ to SQL for creating the service
Getting ready
How to do it...
How it works...
There's more...
See also
8. Model View ViewModel
Introduction
Simple MVVM application
Getting ready
How to do it...
How it works...
There's more...
How to use the project template
See also
Using MVVM Light Toolkit
Getting ready
How to do it...
How it works...
There's more...
See also
Updating the MVVM application
Getting ready
How to do it...
How it works...
There's more...
Multiple Views with the same ViewModel
See also
Index

Windows Phone 7.5 Data Cookbook

Copyright © 2011 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the p...

Table of contents

  1. Windows Phone 7.5 Data Cookbook

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Windows Phone 7.5 Data Cookbook by Ramesh Thalli in PDF and/or ePUB format, as well as other popular books in Ciencia de la computación & Programación de Microsoft. We have over one million books available in our catalogue for you to explore.