Azure的网络API和移动服务 [英] Azure web api VS Mobile Services

查看:144
本文介绍了Azure的网络API和移动服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用时有哪些主要的区别

What are the main differences when using


  • Azure的网络API(使用技术上的Azure网站模块) - <一个href=\"https://www.windowsazure.com/en-us/develop/net/tutorials/rest-service-using-web-api/#bkmk_createmvc4app\">https://www.windowsazure.com/en-us/develop/net/tutorials/rest-service-using-web-api/#bkmk_createmvc4app VS

  • 的Azure移动服务 - <一个href=\"https://www.windowsazure.com/en-us/develop/mobile/tutorials/get-started-ios/\">https://www.windowsazure.com/en-us/develop/mobile/tutorials/get-started-ios/

  • Azure Web API (technically using Azure Web Site Module) - https://www.windowsazure.com/en-us/develop/net/tutorials/rest-service-using-web-api/#bkmk_createmvc4app VS
  • Azure Mobile Services - https://www.windowsazure.com/en-us/develop/mobile/tutorials/get-started-ios/

我想建立一个由移动和Web客户端使用的web服务。我应该使用哪个?

I'd like to build a webservice that will be used by both mobile and web client. Which should I use?

感谢

推荐答案

我觉得移动业务主要集中在快速移动服务的发展特别是对那些面向数据。如果你想快速创建一个移动应用程序,以对云数据CRUD操作的推送通知外的盒子,移动服务可能是一个不错的选择。

I think the Mobile Service is mainly focus on quick mobile service development especially for those data oriented. If you want to create a mobile application quickly, with CRUD against your data on cloud, with push notification out-of-box, mobile service might be a good choice.

但如果你需要复杂的服务器端逻辑,Azure的网站可能会更好。您可以通过使用ASP.NET MVC的WebAPI,Node.js的,等创建自己的逻辑自己的API。

But if you need complex server side logic, Azure Web Site could be better. You can create your own API with your own logic by using ASP.NET MVC WebAPI, Node.js, etc.

这篇关于Azure的网络API和移动服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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