silverpart.jpg

Project Description

This project includes a Silverlight wrapper Web Part that can be used in SharePoint 2007 (MOSS) or WSS 3.0 to expose Silverlight content.

The goal of this project is to create a generic web part that has custom properties that provide flexibility for embedding different Silverlight applications in SharePoint sites.

The SilverPart Web Part was created with the intention of allowing the integration of Silverlight and SharePoint technologies in order to create full RIA applications.


RIA.jpg

Software Requirements

  • Server
    • .NET Framework 3.0
    • MOSS 2007 (or WSS 3.0)
  • Client
    • Compatible Silverlight browser and operating system
    • UPDATED: Silverlight 1.0 or Silverlight 2 Beta 2 plug-in installed (Note that Silverlight 2 Beta 1 is not supported anymore on this release)

Features

  • Ability to expose Silverlight Applications 1.0 or Silverlight 2 Beta 2 Applications in SharePoint 2007 or WSS 3.0 websites
  • Support for Silverlight 2 applications (.xap files)
  • Enhanced Web Part Editor to expose only relevant properties when a plug-in version is selected
  • No need to create a createSilverlight.js wrapper file to instantiate the Silverlight control (Silverlight 1.0)
  • The Silverlight control parameters are configured via Web Part properties
  • Each control is instantiated with an unique ID to avoid conflicts when using multiple Silverlight controls on the page
  • Ability to specify multiple JavaScript code-behind files (Silverlight 1.0)
  • Built-in default values for the most common Silverlight properties
  • Ability to pass parameters to the Silverlight control via the initParams property
  • No need to make changes to the SharePoint web.config file (e.g. configure Ajax Extensions)
  • No need to have ASP.NET 3.5 Extensions installed (it doesn't use the ASP.NET Silverlight Control to instantiate the plugin)
  • UPDATED: Ability to configure the image and URL to download Silverlight in case the plugin is not installed (by default points to Silverlight 2 Beta 2 installation file, but it can be manually configured)

Known Limitations

  • The onLoad and onError events are not exposed via the SilverPart Web Part properties

Planned Future Enhancements

  • Use of ASP.NET Silverlight Control to instantiate the plugin wWhen ASP.NET 3.5 extensions is released)
  • Audience Targetting to show/hide Web Part based on security groups
  • Implement Interface to allow connections between other webparts

Documentation

  • SilverPart Installation Instructions - New documentation for Beta 2.0 coming soon
  • SilverPart Configuration Instructions - New documentation for Beta 2.0 coming soon

Use of CodePlex Projects


License


This is an Beta release. Beta release versions are not suitable for production use and may contain errors.

Last edited Jul 7 2008 at 7:01 PM by anoguei, version 64
Comments
Biud wrote  Jul 18 2008 at 9:22 AM 
It works very well.
Thanks a lot !

heguangm wrote  Aug 4 2008 at 10:21 PM 
I got errors: Cannot instantiate Silverlight content. Make sure you have the right Silverlight plugin installed. Please contact your administrator.

I am pretty sure I have silverlight 2 - beta 2 plug in installed because the silvierlight app not in sharepoint web part works.

any ideas?

HeToC wrote  Aug 25 2008 at 11:04 AM 
Hi ppl.
I've found a problem with using Silver light application + your web part + WCF service.
I'm trying to invoke simple hello-world function and everything works fine until i assigned my .xap file with your web-part.
Error:
An exception occured during the operation, making the result invalid.

help me plz.
thx

jseiffer wrote  Sep 17 2008 at 9:59 PM 
Not able to get it to work.. The .wsp file you released with it though works. But when I tried to do my own blank silverlight wsp file it does not work.

wcmetz0 wrote  Sep 18 2008 at 1:45 AM 
This is awesome! What is the expected roadmap for the "planned enhancements"? Looking forward to the "Audience Targetting to show/hide Web Part based on security groups" enhancement.

xinsun wrote  Nov 6 2008 at 1:03 AM 
We've a real project use this web part. But it's unavailable since upgrade to RTM, so wander to know when will this SilverPart RTM be ready? It's a great tool, thanks.

bomi wrote  Nov 27 2008 at 8:39 PM 
I have the same issue like heguangm:

Silverlight 2.0 Runtime is installed, but MOSS brings error message:
Cannot instantiate Silverlight content. Make sure you have the right Silverlight plugin installed. Please contact your administrator.

The version installed in the program control panel is 2.0.31005.0. What is the problem and what to do? Is it because I use .Net 3.5?

Anything in MOSS to be done? I appreciate your help a lot! This approach seems excellent to me, so I hope to get it running soon...

Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | CodePlex Blog | Version 2008.12.9.14291