从后面的代码打开Outlook日历 [英] Open outlook calendar from code behind

查看:145
本文介绍了从后面的代码打开Outlook日历的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

有人能告诉我如何在基于asp.net web的应用程序中打开Outlook日历。



我关心的是使用Exchange Server 2013 SDK / API访问用户outlook日历。看到用户预约和添加新约会。



例如:这就像个人助理员工在日历上看到老板的日程安排后可以修理预约。 (我可以使用基于桌面或网络的C#应用​​程序)。



请帮忙....







提前致谢。

Hi All,
Can anybody tell me how to open outlook calendar in asp.net web based application.

My concern is to access users outlook calendar using exchange server 2013 SDK/API. TO see users appointment and to add new appointment.

Example like: it is like Personal assistant staff can fix the appointment after seeing the boss schedule on calendar. ( i can go with desktop or web based C# application).

Please help in this ....



Thanks in advance.

推荐答案

要简短:你无法打开Outlook日历来自Web应用程序,而不是来自客户端,甚至更少来自服务器端。有一些方法可以与Internet Explorer中的ActiveX一起使用,但较新的IE版本已经关闭了这些安全漏洞。你不应该试图通过客户端方式来解决这个问题。它不起作用。

但您可以通过Exchange Web Service从2007版开始访问Exchange服务器(实际存储日历的服务器)。请看这里: http://msdn.microsoft.com/en-us/uc14trainingcourse_5l_topic2.aspx [< a href =http://msdn.microsoft.com/en-us/uc14trainingcourse_5l_topic2.aspxtarget =_ blanktitle =New Window> ^ ]

如果你拥有Exchange 2003版,您仍有一些可能性: http://stackoverflow.com/a/878299 [ ^ ]。



更新:

如果您想与用户的日历进行交互,但无需连接到服务器,则可以创建 iCalendar [ ^ ]用户可以加载。 iCal允许您添加,删除或修改日历条目,但用户的互动。
To be short: you can not open Outlook calendar from a web application, not from client side, and even less from server side. There were methods that could be used with ActiveX from Internet Explorer, but newer IE versions have closed those security holes. You should not try to solve this by client side means. It won't work.
But you can access the Exchange server (the one that is actually storing the calendar) via the Exchange Web Service from version 2007 on. Look here: http://msdn.microsoft.com/en-us/uc14trainingcourse_5l_topic2.aspx[^]
If you have Exchange version 2003, you still have some possibilities: http://stackoverflow.com/a/878299[^].

Update:
If you want to interact with user's calendar, but without the need to connect to the server, you can create iCalendar[^] the user could load. iCal is letting you to add, delete or modify calendar entries but with user's interaction.


这篇关于从后面的代码打开Outlook日历的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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