Share via


Accessing SharePoint Using Query Web Service

Version: 1.0.0

Description

Silverlight applications can access SharePoint data and services using web services. Many SharePoint 2010 web services are available including Search. SharePoint 2010 Web Services increases the reach of SharePoint data and services.

Overview

Silverlight applications can access SharePoint data and services using web services. Many SharePoint 2010 web services are available including Search. SharePoint 2010 Web Services increases the reach of SharePoint data and services.

Objectives

  • Create a Silverlight application deployment framework.
  • Create an asynchronous web service request from Silverlight.
  • 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 from https://tinyurl.com/2avoc4b 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. Create a Silverlight Application and a Framework for Deployment
  3. Create a Keyword Query and Execute an Asynchronous Web Service Call
  4. Display the Query Results in the Silverlight User Interface
  5. Deploy and Test the Silverlight Application

Estimated time to complete this lab: 45 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\AccessingSPUsingQueryWebService\Source\Begin\SilverlightQueryWebService .sln: This soution is a a Silverlight Web Part with the starter code commented out.
    Note:
    Inside each exercise folder, you will find an end folder containing a solution with the completed lab exercise.