Share via


Accessing SharePoint using Silverlight Out-of-Box Application

Version: 1.0.0

Description

Silverlight applications can run out of browser (OOB). Silverlight OOB applications hosted by the client can use SharePoint remote APIs to access SharePoint data and services. OOB applications can run in full trust unlike in browser applications. These applications have greater access to the host system and the .Net Base Class Libraries.

Overview

Silverlight applications can run out of browser (OOB). Silverlight OOB applications hosted by the client can use SharePoint remote APIs to access SharePoint data and services. OOB applications can run in full trust unlike in browser applications. These applications have greater access to the host system and the .Net Base Class Libraries.

Objectives

This lab will demonstrate creating Outlook tasks from SharePoint tasks using a Silverlight OOB application.

  • Create an in browser Silverlight application to retrieve and display tasks.
  • Enable and configure the application to run out of browser.
  • Create Outlook tasks from the OOB application.

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 and can be downloaded from https://code.msdn.microsoft.com/vsixforsp.
  3. Install the Silverlight 4 Toolkit located at https://silverlight.codeplex.com/
  4. Install the Visual Studio 2010 SharePoint Power Tools located at https://visualstudiogallery.msdn.microsoft.com/en-us/8e602a8c-6714-4549-9e95-f3700344b0d9

Exercises

This Hands-On Lab comprises the following exercises:

  1. Retrieve and Display Task Items from intranet.contoso.com
  2. Configure the Silverlight Application for OOB
  3. Create Outlook Tasks using the OOB Silverlight Application

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.
    • AccessingSPSilverlightOTB\Source\Begin\OOB_SharePointTasks\OOB_SharePointTasks\OOB_SharePointTasks.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.