Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure Mobile Services vs Web API

I have just started using Web API to create REST based services to be used within my MVC apps, which I am calling a lot from client side code. Now I have noticed Azure Mobile Services provides an alternative and simple way to interact with your database from client side code. What is the advantage (if any) of using Azure Mobile Services over Web API?

like image 968
user517406 Avatar asked May 05 '13 18:05

user517406


1 Answers

  1. It is really easy to get started from scratch. If you have no idea, or maybe no inclination or time to create a Web API project, a Database, configure CORS, scaffold up some client access scripts etc then Azure Mobile Services is great.
  2. Features such as dynamic DB schema, OAuth (and security baked into the DB) and push notifications out of the box, with OKish documentation.
  3. Native libraries to access your services from Android, IOS and Windows Mobile & Win 8 Store.
  4. Code server scripts in JS (maybe an advantage, if you're not a C# dev).

That said, if you're already up and running in Web API, then I don't think there is any compelling reason for you to change. You'll almost certainly hit limitations and you can access other Azure services including Mobile if you need a specific feature anyway.

like image 91
conradj Avatar answered Sep 24 '22 22:09

conradj