Creating a Web API using Mobile Services
In this section, we will create a Mobile Services-enabled Web API using Visual Studio 2013. For our fictitious scenario, we will create an Uber-like service but for medical emergencies. In the case of a medical emergency, users will have the option to send a request using their mobile device. Additionally, third-party applications and services can integrate with the Web API to display doctor availability. All requests sent to the Web API will follow the following process flow:
- The request will be persisted to a data store.
- An algorithm will find a doctor that matches the incoming request based on availability and proximity.
- Push Notifications will be sent to update the physician and patient.
Creating the project
Mobile Services provides two options to create a project:
- Using the Management portal, we can create a new Mobile Service and download a preassembled package that contains the Web API as well as the targeted mobile platform project
- Using Visual...