用于访问 Exchange 2003 日历的 WebDAV 与 SDK
我试图弄清楚如何从远程托管的 ASP.NET/C# 页面访问 Exchange 2003 的日历(我只需要读取和显示日历约会/会议等)。 据我了解,我主要有两个选择 - 使用 WebDAV 或 Exchange SDK。
我发现了一些如何使用 WebDAV 的好例子,尽管我还没有让它正常工作。 我还没有仔细研究过 SDK,在花时间研究之前,我想知道是否有人对这两种不同的技术有任何优点和缺点,以及我应该寻求哪些建议?
任何有用的 SDK 链接也将不胜感激!
I'm trying to figure out how to access the calendar of Exchange 2003 from a remotely hosted ASP.NET/C# page (I only need to read and display calendar appointments/meetings etc.). As I understand it, I'm mainly down to two options - using WebDAV or the Exchange SDK.
I have found some good examples of how to use WebDAV, although I've not yet gotten it to work properly. I haven't looked too close at the SDK yet, and before I spend time on that, I'm wondering if anyone's got any pros and cons with the two different techniques, and any suggestions on which I should go for?
Any useful SDK links would also be greatly appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正如你所说,有很多方法可以做到这一点,但 webdav 是最好的选择,因为它由 MS 从托管代码中支持,而 CDO 往往有更灰色的支持,具体取决于你正在做什么。
如果您是 webdav 的新手,那么查看一些包装类可能是一个好主意,因为这可以加快您的开发速度。 我用过第 3 方的
http://www.independentsoft.de/webdavex/index.html 他们的支持是照明快!
MSDN 文档可能是起点
http://msdn.microsoft.com/en-us /library/aa143161(EXCHG.65).aspx
以下是我在显示示例之前已预订标记的其他内容
http://msdn.microsoft.com/en-us/library/aa123570.aspx
http://www.msexchange.org/articles/ Access-Exchange-2000-2003-Mailbox-WebDAV.html
http://blogs.technet.com/kclemson/archive/ 2004/01/23/62247.aspx
http:// /blog.mbcharbonneau.com/2006/10/26/using-net-and-webdav-to-access-an-exchange-server/
As you say there are a number of ways to do this, but webdav is the best bet, as it is supported by MS from managed code where as CDO tend to have greyer shades of support depending on what you are doing.
If you are new to webdav it may be an idea a looking at some of the wrapper classes around as that could speed your dev up. I have used a 3rd party one
http://www.independentsoft.de/webdavex/index.html their support is lighting fast !
The MSDN documentation is probally the starting point
http://msdn.microsoft.com/en-us/library/aa143161(EXCHG.65).aspx
here are others that i have had booked marked before show examples
http://msdn.microsoft.com/en-us/library/aa123570.aspx
http://www.msexchange.org/articles/Access-Exchange-2000-2003-Mailbox-WebDAV.html
http://blogs.technet.com/kclemson/archive/2004/01/23/62247.aspx
http://blog.mbcharbonneau.com/2006/10/26/using-net-and-webdav-to-access-an-exchange-server/