Description
Windows Phone 7 applications can use Forms-Based Authentication (FBA) to work with secured SharePoint resources. SharePoint 2010 includes an Authentication Web Service that can be used to authenticate requests using FBA. This lab will focus on using FBA to access secured SharePoint resources.
Overview
Windows Phone 7 applications can use Forms-Based Authentication (FBA) to work with secured SharePoint resources. SharePoint 2010 includes an Authentication Web Service that can be used to authenticate requests using FBA. This lab will focus on using FBA to access secured SharePoint resources.
Objectives
In this hands-on lab, you will learn how to access SharePoint resources from a Windows Phone 7 application using FBA.
- Learn how to authenticate to SharePoint using the SharePoint Authentication Web service from a Windows Phone 7 application.
- Learn how to attach a FedAuth cookie to web requests to access secured SharePoint resources.
- Learn how to handled successful and failed authentication attempts.
Prerequisites
The following is required to complete this hands-on lab:
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.
- Windows 7 x64 installed with all Windows Updates installed, in one of the following scenarios.
- Installed on a physical machine
- Installed on a bootable VHD
- SharePoint 2010 installed on the Windows 7 x64 developer machine configured with a site collection that uses Forms Based Authentication (FBA).
- Windows Phone 7 Developer Tools
- Windows Phone 7 Developer Tools - January 2011 Update
- Windows Phone Developer Tools Fix
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.
- KB981002- WCF: Hotfix rollup in .NET 3.5 SP1 for Win 7 and Win 2k8 R2