SHAREPOINT DOCUMENT LIBRARY HOW TO REACH THROUGH SILVERLIGHT APPLICATION

HOW CAN I REACH SHAREPOINT DOCUMENT LIBRARY THROUGH SILVERLIGHT APPLICATION? I HAVE A SILVERLIGHT APPLICATION TO SHOW PICTURES AS A WEB GALERY,BROWSING AND DISPLAYING IMAGE APPLICATION BUT INSTEAD OF GETTING THE PICTURE FROM WEB SERVER,
"http://localhost:4114/images/" images folder i want to take the images from the document library..how can i achieve this?   my code to add images to web gallery  in the main.xaml.cs is:

================================================================

private const string PREFIX="http://localhost:4114/images/";
=======================================

  this._thumbnails.Add(
                new Thumbnail {

                    Picture = PREFIX + "p7.jpg"
                }
            );

==============================================

instead of gettin p7 through webserver i want to achieve to get it from a document library ...i need help with it...
fatihdiAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Melih SARICAConnect With a Mentor IT ManagerCommented:
U can access those libraries easily with sharepoint web services.. and u can use web service with silverlight application

0
 
fatihdiAuthor Commented:
assume that i am also a newbie to sharepoint i did not add any refernces to share point in my silverlight application and stuff, if you can explain it step by step i really appreciate..tnx
0
 
fatihdiAuthor Commented:
I tried the code on the msdn site here : http://msdn.microsoft.com/en-us/library/dd490727.aspx

but it is not recognizing SPSite,SPWeb classes  and I cannot add Microsoft.Sharepoint.dll to the referances because it says silverlight application does not accept other dll s or something like that.. what should i do ...i tried to add a sharepoint project to my silverlight project now but then i dont know if I can achieve it this way??
0
 
fatihdiAuthor Commented:
Can you go more specific? I have never written a webservice before how can i go with it? is there any sample code where it shows an access to document library... how long would it take for a beginner like me to write a webservice to access document library and grab images and then call it from a silverlight application and maek things work.. i really need a step by step guidance you think there is any source for that?
0
 
Melih SARICAConnect With a Mentor IT ManagerCommented:
u ll not write a webservice..

U ll use the web service of the sharepoint..

In Solution manager under web services or references u can add a web reference..

under  advanced button u ll see add web service.. then u ll put Sharepoint web service and u can use lists.asmx

url must be something like this http://sharepointur/site/_layout/lists.asmx if no sub site is  declared then delete /site and try again..

u can find details about sharepoint web services at http://msdn.microsoft.com/en-us/library/ms479390.aspx

0
All Courses

From novice to tech pro — start learning today.