简体   繁体   English

在iOS应用程序中访问Microsoft Exchange Server Web服务(EWS)API

[英]Accessing Microsoft Exchange Server Web Services (EWS) API in an iOS application

With the introduction of EWS Managed API (http://msdn.microsoft.com/en-us/library/dd633710(EXCHG.80).aspx), the task of talking to an Exchange Server was greatly simplified. 随着EWS Managed API的引入(http://msdn.microsoft.com/en-us/library/dd633710(EXCHG.80).aspx),与Exchange Server通信的任务大大简化了。

Is there a way to use this API in an app targeted for an iOS device? 有没有办法在针对iOS设备的应用中使用此API? Has anyone tried the MonoTouch (http://monotouch.net/) approach? 有没有人尝试过MonoTouch(http://monotouch.net/)方法? Is it technically possible to write a cross-platform .Net application that can access the Exchange Server 2007/2010 using tools like MonoTouch and MonoDroid? 从技术上讲,编写可以使用MonoTouch和MonoDroid等工具访问Exchange Server 2007/2010的跨平台.Net应用程序是否可行?

If not, what would be the API of choice (with regard to Exchange Server 2007/2010) for an iOS app? 如果没有,iOS应用程序的首选API(关于Exchange Server 2007/2010)是什么?

Thank you! 谢谢! I greatly appreciate any help or insight you can provide! 我非常感谢您提供的任何帮助或见解!

Since they do not publish the source code to the library, it is unlikely that it will run on MonoTouch out of the box. 由于它们不会将源代码发布到库中,因此它不太可能在开箱即用的MonoTouch上运行。 It depends at least on DirectoryServices that is not present on MonoTouch (but is present on standard Mono). 它至少取决于MonoTouch上不存在的DirectoryServices(但在标准Mono中存在)。

You could try disassembling with ildasm, changing the assembly dependencies from 3.5.0.0 to 2.1.0.0 and re-assembling the libraries to try it out and hope that the DirectoryServices code is not used if you are careful. 您可以尝试使用ildasm进行反汇编,将程序集依赖性从3.5.0.0更改为2.1.0.0并重新组装库以进行尝试,并希望如果您小心,则不使用DirectoryServices代码。

My suggestion is that you lobby Microsoft to open source the library, as that would allow it to run not only on .NET 3.5.0.0, but it would allow it to run on other environments like Silverlight, MonoTouch and Monodroid. 我的建议是你游说微软开源库,因为它不仅可以在.NET 3.5.0.0上运行,而且还可以在其他环境中运行,如Silverlight,MonoTouch和Monodroid。

This one works on Monotouch: Exchange Web Services .NET 这个适用于Monotouch: Exchange Web Services .NET

Even source code is available to recompile. 甚至源代码也可以重新编译。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Window 服务应用程序、Exchange Web 服务、EWS 错误 - Window Service Application, Exchange Web Services, EWS error C#EWS API-访问与配置了帐户访问权限的服务器不同的Exchange服务器上的项目 - C# EWS API - Accessing items on different Exchange server than the server where account accessing is configured Exchange Web服务托管API:访问其他用户项 - Exchange Web Services Managed API: Accessing other users items 如何使用Exchange Web服务(EWS)API通过共享邮箱发送电子邮件 - How to send email via a Shared MailBox using Exchange Web Services (EWS) API 为什么通过 Exchange Web Service EWS API 访问邮箱会随机失败? - Why accessing mailbox via Exchange Web Service EWS API fails randomly? EWS Exchange Web服务API AutodiscoverUrl异常 - EWS Exchange Web service API AutodiscoverUrl exception 使用Exchange Server 2013进行ews(Exchange Web Service)身份验证 - ews(exchange web service) authentication with exchange server 2013 在Exchange Web服务(EWS)中处理事件时标识项类型 - Identify item type when handling event in Exchange Web Services (EWS) 在 C# 中连接到 Exchange Web 服务 (EWS) 后出现错误 - Errors appear after connecting to Exchange Web Services (EWS) in C# EWS(Exchange Web服务)-向约会添加内联附件 - EWS (Exchange Web Services) - Add inline attachment to appointment
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM