使用Microsoft技术开发2个应用程序之间交换信息的最佳技术是什么 [英] What would be the best technology to exchange information among 2 applications develop using Microsoft Technology
问题描述
大家好,
我希望在两个之间交换产品列表和用户信息(如用户凭据,购买/购物订单状态等)等信息使用ASP.NET 2.0和ASP.NET MVC 4.0开发的应用程序。我打算为此开发和WEB API。其他可能性是Web服务/ WCF服务。
影响决策的要点是
1)兼容性为1个应用程序是在ASP.NET 2.0中开发的,另一个是在ASP.NET中开发的MVC 4.0
2)要交换的信息的性质。从1个应用程序到其他应用程序的用户凭据等信息应该是安全可靠的。
3)应用程序应支持移动,Web和标签。
请告诉我实现上述目标的最佳技术是什么?欢迎您提出意见和建议。
提前致谢。
Hi all,
I want to exchange information like list of products and user information (like user credentials, purchase/shopping order status, etc.)among two applications developed using ASP.NET 2.0 & ASP.NET MVC 4.0. I am planning to develop and WEB API for the same. The other possibilities would be Web Service/WCF Service.
The points influencing the decision are
1) Compatibility as 1 application is developed in ASP.NET 2.0 and the another in ASP.NET MVC 4.0
2) Nature of information to be exchange. The information like user credentials from 1 application to other which should be safe and secure.
3) The application should support Mobile, Web & Tabs.
Kindly suggest me what would be the best technology to accomplish the above? Your views and suggestions are most welcome.
Thanks in advance.
推荐答案
我会说'' Asp.Net WebAPI''是你最好的
I would say ''Asp.Net WebAPI'' is your best best
你好,
最好使用Web服务,它没有'无论你是使用asp .net还是MVC,与交换XML文件相比都是安全的...
It is best to use Web Service, It doesn''t matter whether u use asp .net or MVC and it is secured compared to exchanging XML files...
你好b $ b
你试过吗将要交换的数据写入xml文件? ypu可以做的是什么。例如,如果您想将用户凭据交换到另一个应用程序,您可以尝试将数据写入xml文件,如下所示:
Hi
Have you tried writing the data to be exchanged to xml file? What ypu could do is. For example if u want to exchange user credentials to another application you can try writing the data to an xml file as shown below:
<userinfo>
<user>
<username> Sam</username>
<password>password1</password>
</user>
<userinfor>
然后另一个应用程序也可以从该文件中读取。我希望我已经回答了你的问题
Then the other application could read from that file too. I hope i have answered your question
这篇关于使用Microsoft技术开发2个应用程序之间交换信息的最佳技术是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!