Sharepoint 2010文件上传/下载 [英] Sharepoint 2010 File Upload / Download

查看:75
本文介绍了Sharepoint 2010文件上传/下载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


关于Sharepoint开发概念,我有几个问题.最终,我想使用WPF构建一个应用程序,以将文件上传和下载到Sharepoint 2010服务器.

客户端(运行WPF应用程序的笔记本电脑)->互联网->共享点2010

我已经审查了客户端对象模型,并了解了如果WPF应用程序是共享点服务器本地的,那么如何完成此任务,但是如果在远程客户端上该怎么办?

我是否需要在IIS7上运行WCF服务以允许与共享点进行通信?共享点如何验证此文件上载/下载的权限?

任何帮助,指导或阅读材料都将非常有用!

谢谢,

Ethan

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

推荐答案

您不需要在本地SharePoint服务器上运行WPF客户端,这将达到目的.您也不需要WCF,因为SharePoint已经公开了Web服务.但是,随着2010年客户端对象模型的推出,它是WebServices的非常强大且有用的替代方法.

使用Windows身份验证时,SharePoint将使用应用程序用户的凭据.使用FBA时,您可以指定凭据.请参阅下面第1部分中的身份验证"部分


SharePoint 2010客户端对象模型,第1部分
[^ ]

SharePoint 2010客户端对象模型,第2部分
[^ ]
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
[^]


这篇关于Sharepoint 2010文件上传/下载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆