Advertisement

Silverlight in SharePoint web parts

Are you using SharePoint and want to know how to leverage Silverlight?  Have you seen the Blueprints project on Codeplex?  But what if those particular implementations don’t meet your needs and you want to create your own contained web part with your Silverlight 2 application?

Kirk Evans writes about a method of doing this in a recent post: Hosting Silverlight in SharePoint.  Take a look at Kirk’s post with a step-by-step guide of getting started with his method.  In looking at the method he describes, it is conceivable that you actually could make a more generic web part that serves as a XAP host and allows the user to set the property of the Source to a URI for a Silverlight 2 application.

Hmmm…I wonder if Kirk is up to modifying it ;-).

UPDATE (08 OCT 2008):

Looks like there is a similiar web part in the works already!  Thanks to a note from Andy Nogueira, he has a project (also on Codeplex) for SilverPart, which is a Silverlight wrapper web part for SharePoint.  Thanks for the pointer Andy!


This work is licensed under a Creative Commons Attribution By license.

  1. 10/8/2008 11:50 AM | # re: Silverlight in SharePoint web parts
    I'd love to say that was my intent, but I'll steal the idea!
  2. 10/8/2008 2:00 PM | # re: Silverlight in SharePoint web parts
    Tim,
    Thanks for the link.
    If you want something that is extremely quick (and somewhat dirty) you can always host the Silverlight app on a webpage and then point a webpage viewer sharepoint webpart at that webpage.
    It actually works without a hitch.
    Now if you are striving for inter-webpart communication then this might not work, but to get something up an running inside sharepoin it is a snap.
  3. 10/8/2008 9:09 PM | # re: Silverlight in SharePoint web parts
    You can also use the Data View Web part if you want to get SharePoint list data into SL v1
    See http://www.wssdemo.com/Pages/graph.aspx
  4. 10/10/2008 1:53 PM | # re: Silverlight in SharePoint web parts
    There is another solution if you don't mind using the HTMLTextWriter. I wrote about it a while back. Maybe someone would find it useful when they don't want to use the Silverlight server control. Here is my post: http://newtonapps.com/Post.aspx?postID=24
  5. 7/1/2009 12:56 PM | # re: Silverlight in SharePoint web parts
    Another great solution and site for SharePoint web parts is the webpartgallery.com
    as they have a few solutions around Silverlight, task aggregator web parts, and a few other cool but cost effective solution my company has used.

    the site is at http://www.webpartgallery.com

 
Please add 1 and 2 and type the answer here:
First time here? You are looking at the most recent posts. You may also want to check out older archives. Please leave a comment, ask a question and consider subscribing to the latest posts via RSS or email. Thank you for visiting! (hide this)