简体   繁体   English

使用MVC 5网页从Outlook服务器获取数据?

[英]Using MVC 5 web page to get data from outlook server?

I've had a look around and can't seem to find what I'm looking for (unless I have and didn't realise...) 我四处张望,似乎找不到我要找的东西(除非我有并且没有意识到...)

I have been tasked with creating a basic CRM web based app so that it can be used on any device. 我的任务是创建一个基于CRM网络的基本应用程序,以便可以在任何设备上使用它。

I am using MVC 5 to do this using SQL server to store all the required tables. 我正在使用MVC 5使用SQL Server来执行此操作,以存储所有必需的表。

What I need to do know is be able to sync with an outlook exchange server so that the user can log in and their list of contacts/scheduled tasks are taken from the outlook information as well as be able to create/edit/delete etc the contacts + scheduled tasks and be able to post them back to the outlook server. 我需要做的是能够与Outlook交换服务器同步,以便用户可以登录,并从Outlook信息中获取他们的联系人/计划任务列表,以及能够创建/编辑/删除等信息。联系人+已安排的任务,并能够将其重新发布到Outlook服务器。 ie without having to open a local Microsoft Outlook application. 即无需打开本地Microsoft Outlook应用程序。

Is this possible and if so does anyone know where I may be able to find a good enough source to help me learn this further. 这是否可能,如果可以,那么有人知道我可以在哪里找到足够好的资源来帮助我进一步学习。

thanks... 谢谢...

Tewr's comment is right on the spot as this is a scenario suited for EWS (Exchange Web Services). Tewr的评论是当场正确的,因为这是适合EWS(Exchange Web服务)的方案。

If you're using MVC 5 to develop this application, it may be the most helpful to use EWS Managed API to access the Exchange server as it allows you to all of it in C#. 如果您使用MVC 5开发此应用程序,则使用EWS托管API访问Exchange服务器可能是最有用的,因为它允许您使用C#进行所有操作。

Managed API - http://msdn.microsoft.com/en-us/library/office/jj220499(v=exchg.80).aspx 托管API- http://msdn.microsoft.com/zh-cn/library/office/jj220499(v=exchg.80).aspx

Working with contacts - http://msdn.microsoft.com/en-us/library/office/ee693004(v=exchg.80).aspx 使用联系人-http: //msdn.microsoft.com/zh-cn/library/office/ee693004(v=exchg.80).aspx

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM