Share via


Accessing People Using Query Web Service

Version: 1.0.0

Description

Silverlight applications can access SharePoint data and services using web services. This includes a search of People and people-related metadata. This lab will demonstrate how to create a Web Service Query to search for people.

Overview

Silverlight applications can access SharePoint data and services using web services. This includes a search of People and people-related metadata. This lab will demonstrate how to create a Web Service Query to search for people.

Objectives

  • Configure SharePoint Search Service.
  • Create a People Search to find people.
  • Integrate a secondary search to locate documents.
  • Display search results in a Silverlight user interface.

System Requirements

You must have the following items to complete this lab:

  • 2010 Information Worker Demonstration and Evaluation Virtual Machine
  • Microsoft Visual Studio 2010
  • Visual Studio 2010 SharePoint Power Tools
  • Silverlight 4 Toolkit
  • Silverlight WebPart

Setup

You must perform the following steps to prepare your computer for this lab...

  1. Download the 2010 Information Worker Demonstration and Evaluation Virtual Machine and create the Hyper-V image.
  2. Install the Visual Studio 2010 Silverlight Web Part. The Silverlight Web Part is an add-on to Visual Studio 2010.
  3. Install the Silverlight 4 Toolkit
  4. Install the Visual Studio 2010 SharePoint Power Tools

Exercises

This Hands-On Lab comprises the following exercises:

  1. Configure the Search Service Application
  2. Exercise 2: Complete a Silverlight Application using Full Text Query and Execute an Asynchronous Web Service Call Create a Keyword Query and Execute an Asynchronous Web Service Call

    Estimated time to complete this lab: 30 minutes.

Starting Materials

This Hands-On Lab includes the following starting materials.

  • Visual Studio solutions. The lab provides the following Visual Studio solutions that you can use as starting point for the exercises.
    • <Install location>\Labs\APUQWS\Source\Begin\SillverlightQueryPeopleWebService.sln: This soution is a a Silverlight Web Part with the starter code commented out.
    Note:
    Note: Inside each exercise folder, you will find an end folder containing a solution with the completed lab exercise.