[英]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.