Click here to Skip to main content
15,905,232 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hey Everyone,


I have a few questions regarding Sharepoint developing concepts. Ultimately I would like to build an app using WPF to upload and download files to a Sharepoint 2010 server.

Client (laptop running the WPF App) -> Internet -> Sharepoint 2010

I've reviewed the client object model and understand how to accomplish this if the WPF application was local to the sharepoint server but what if on a remote client?

Do I need to run a WCF Service on IIS7 to allow for communication to sharepoint? How does sharepoint verify permissions for this file upload/download?

Any help , direction or reading material would be great!

Thanks,

Ethan
Posted

1 solution

You don't need to run the WPF client on the local SharePoint server, that would defeat the purpose. You also don't need WCF since SharePoint already exposes webservices. However, with 2010 the Client Object Model is available and is a very powerful and useful alternative to WebServices.

When using Windows authentication SharePoint will use the credentials of the application user. When using FBA you can specify credentials. See the Authentication section in Part1 below


SharePoint 2010 Client Object Model, Part 1
[^]

SharePoint 2010 Client Object Model, Part 2
[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900