You are previewing Windows Phone 7.5 Data Cookbook.
O'Reilly logo
Windows Phone 7.5 Data Cookbook

Book Description

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

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

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

    Table of Contents

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