在C#WPF中连接到Sharepoint 2003
我正在创建一个WPF应用程序,它应该列出Sharepoint 2003服务器上的假日详细信息。应该使用什么样的库?我是否被降级为COM对象,或者是否存在与SP 2003兼容的.NET库?有两种方法: a。使用Sharepoint web服务在C#WPF中连接到Sharepoint 2003,c#,wpf,sharepoint,dll,com,C#,Wpf,Sharepoint,Dll,Com,我正在创建一个WPF应用程序,它应该列出Sharepoint 2003服务器上的假日详细信息。应该使用什么样的库?我是否被降级为COM对象,或者是否存在与SP 2003兼容的.NET库?有两种方法: a。使用Sharepoint web服务 Suppose your sharepoint server URL is as follows https://MyDomain/MySite/default.aspx Then replace default.aspx with /_vti_bin/l
Suppose your sharepoint server URL is as follows
https://MyDomain/MySite/default.aspx
Then replace default.aspx with /_vti_bin/lists.asmx to get list of web services expose by sharepoint.
https://MyDomain/MySite/_vti_bin/lists.asmx
This will provide you with list of all operations exposed by service.
You can use GetList to get calendar list and check if you get desired result.
b。使用Sharepoint对象模型和Microsoft.Sharepoint.dll(WPF应用程序可以在安装Sharepoint的同一服务器上运行)如果使用Sharepoint web services,我需要导入哪些库?您不需要任何库来导入。简单添加web引用并生成代理。