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...
- Download the 2010 Information Worker Demonstration and Evaluation Virtual Machine from https://tinyurl.com/2avoc4b and create the Hyper-V image.
- Install the Visual Studio 2010 Silverlight Web Part. The Silverlight Web Part is an add-on to Visual Studio 2010.
- Install the Silverlight 4 Toolkit.
- Install the Visual Studio 2010 SharePoint Power Tools
Exercises
This Hands-On Lab comprises the following exercises:
- Configure the Search Service Application
- Create a Silverlight Application and a Framework for Deployment
- Create a Keyword Query and Execute an Asynchronous Web Service Call
- Display the Query Results in the Silverlight User Interface
- 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.
Inside each exercise folder, you will find an end folder containing a solution with the completed lab exercise.