Share via


Using the Content Editor Web Part

Version: 1.0.0

Description

Silverlight applications are commonly used to overcome sandboxed limitations and create RIA in SharePoint web sites. The Content Editor Web Part which comes with SharePoint 2010 makes displaying Silverlight applications hosted on other web site on SharePoint pages easy to do and does not require writing any code except for a small amount of HTML. This lab will guide the reader through an exercise which uses the Content Editor Web Part to display a Silverlight application which is hosted on another web site on a SharePoint page.

Overview

Silverlight applications are commonly used to overcome sandboxed limitations and create RIA in SharePoint web sites. The Content Editor Web Part which comes with SharePoint 2010 makes displaying Silverlight applications hosted on other web site on SharePoint pages easy to do and does not require writing any code except for a small amount of HTML. This lab will guide the reader through an exercise which uses the Content Editor Web Part to display a Silverlight application which is hosted on another web site on a SharePoint page.

Objectives

This lab will demonstrate how you can use a web browser to configure a Content Editor Web Part to display a Silverlight application which is hosted on another web site. To demonstrate these concepts the reader will

  • Use Visual Studio 2010 to host a sample Silverlight application on a web site.
  • Use the Content Editor Web Part to display the Silverlight application which runs on a different web site on a page in the SharePoint site.

System Requirements

You must have the following items to complete this lab:

  • 2010 Information Worker Demonstration and Evaluation Virtual Machine
  • Microsoft Visual Studio 2010

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.

Exercises

This Hands-On Lab comprises the following exercises:

  1. Using The Content Editor Web Part

Estimated time to complete this lab: 10 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>\Labs\CEWPSilverlightIntegrationSource\end\Sample.Silverlight.App.sln: A sample Silverlight application used to demonstrate how the Silverlight Web Part displays Silverlight applications on a SharePoint site.