Share via


Integrating SharePoint and Windows Phone 7 using Rest APIs

Version: 1.0.0

Description

Windows Phone 7 applications can use SharePoint .Net Data Services or REST-based APIs to view and edit SharePoint data. Visual Studio 2010 provides a rich development environment for creating, deploying, and integrating SharePoint list data with Windows Phone 7 applications.

Overview

Windows Phone 7 applications can use SharePoint .Net Data Services or REST-based APIs to view and edit SharePoint data. Visual Studio 2010 provides a rich development environment for creating, deploying, and integrating SharePoint list data with Windows Phone 7 applications.

Objectives

In this hands-on lab, you will learn how to use the SharePoint ListData service to display list data in a Windows Phone 7 application. This hand-on lab will only focus on reading using ListData.svc using FBA security. You will also learn how to use a SharePoint Web service to add list data to an existing list.

  • Learn how to use the SharePoint ListData.svc service to display list data in a Windows Phone 7 application.
Note:
The ListData service supports read, write and update functionality. In this hands-on lab only read operations will be demonstratored using FBA authentication. The current supported DataSvcUtil.exe application does not support the creation of a proxy class that exposes the web request which is required to attach the FBA cookie. In this hands-on lab you will manually create a HttpWebRequest object and make an asynchronously call to the ListData.svc endpoint. Manually generating a create or update REST post is not demonstrated in this lab. Review the Security With SharePoint And Windows Phone 7 Applications module to review which scenarios support the creation and use of a service proxy.

Prerequisites

The following is required to complete this hands-on lab:

Note:
See Setting Up A SharePoint and Windows Phone 7 Development Environment Module for instructions that describe how to set up the SharePoint and Windows Phone 7 developer machine.

Note:
The following prerequisites are not included in the Setting Up A SharePoint and Windows Phone 7 Development Environment Module installation instructions. If you are using a development machine built according to the Setting Up A SharePoint and Windows Phone 7 Development Environment Module instructions you must install these components.