Creating Custom Silverlight Web Parts in Duet Enterprise

Use Microsoft Silverlight, a cross-platform, cross-browser .NET Framework plug-in, to create interactive applications built on Duet Enterprise for Microsoft SharePoint and SAP.

Applies to: Duet Enterprise for Microsoft SharePoint and SAP Server 2.0 | Office 2010 | SharePoint Server 2010

Silverlight applications run on the user's computer, and can provide a richer user experience and less load on the server compared to server-based web applications.

Duet Enterprise and Microsoft SharePoint Server 2010 support implementation of the Silverlight client object model in two contexts: within a Silverlight Web Part, and within the Silverlight Cross-Domain Data Access system, through which a Silverlight application interacts with SharePoint 2010 data.

Connecting a Silverlight Application to an External List

A SharePoint list can be accessed from a Silverlight application in the following ways:

  • Using the Silverlight Client object model.

  • Using the Lists web service (lists.asmx).

  • Creating a custom web service, which uses the SharePoint Server 2010 object model or Microsoft Business Connectivity Services (BCS) object model to access list data.

To use the Silverlight object model within a Silverlight Web Part, you can create a Silverlight application in Visual Studio 2010, and add your code to the Page class in the default Page.xaml.cs file of your project. After you build your project, upload the project's application package (.xap) file to a document library. Insert a Silverlight Web Part into a Web Parts page and point the URL source of the Web Part to the .xap file in the document library.

Hosting Your Silverlight Application in SharePoint

You can host your Silverlight application directly in SharePoint by using the Silverlight Web Part, which is provided in SharePoint Server 2010. When you build your Silverlight project in Visual Studio 2010, a Silverlight application file (.xap) is generated in the output path of your project.

See Also

Other Resources

Connecting_a_Silverlight_Application_to_Line-of-Business_Information.pdf (https://download.microsoft.com/download/4/C/3/4C3D58E9-803E-446C-8D11-0564F584B833/Connecting_a_Silverlight_Application_to_Line-of-Business_Information.pdf)

Microsoft Silverlight (https://www.microsoft.com/silverlight/)