Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

The idea is to create a SilverLight 3 Application (not a web part) that will be used inside SharePoint 2007 (not a web part but a full aspx page that will be called from a Sharepoint feature), for example, a silverlight application that lists all documents of a SharePoint document Library, and when double-clicking an item it will display it.

How do I use the SharePoint object model (spsite, spweb, splist etc...) inside this SL app? Is it not possible?

share|improve this question
add comment

3 Answers

up vote 3 down vote accepted

To do what you are suggesting you would need access to the Client Object Model which is only available from SharePoint 2010.

However you could use the web services to perform your underlying data accesss to SharePoint from within Silverlight 3 in MOSS or WSS 3.0.

share|improve this answer
add comment

You have to remember that Silverlight runs on the client and not on the server. Because of this, the Sharepoint object model is not readily available to client-side apps.

As Charles Lee has already said, the way to do in '2007 is via web services. I believe that there is improved object model support in the 2010 version.

share|improve this answer
add comment

Can u include Microsoft.Sharepoint.dll in your application and refer the Sharepoint object model. I have not done this . but looks like this should be the solution

share|improve this answer
    
This cannot be done! The Microsoft.SharePoint.dll can only be used on the servers where SharePoint is installed –  Wictor Wilen MCA MCM MVP Jun 10 '10 at 8:41
    
correct, if we do development in Virtual PC that has the Sharepoint infrastructure the development can happen. –  Thomson Jun 11 '10 at 4:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.