Azure Mobile Services
Mobile Apps is a type of app in App services, which integrates all the type of functionality of mobile services. It is easy to migrate from mobile service to mobile apps.
Mobile Apps engage for the following:
- Broadcast push with customer segmentation
- Enterprise single sign-on with Active Directory
- Autoscale to support millions of devices
- Apps can work offline and sync
- Social integration with Facebook, Twitter, Google
To complete this article, you need to have an Azure account. If you're new to Azure, I recommend reading Introduction to Microsoft Azure.
Requirements
Pre-requisite
- Azure Account – If you don’t have an azure account, click here.
- Visual Studio 2015 update 1 or above.
Let’s get started to create an app in Azure mobile services and perform the back-end process.
Step 1 - Log into Azure Management Portal by clicking this link.
Step 2 - There, click New >> Web + Mobile, and then click Mobile App.
Step 3 - In the Mobile App creation wizard, fill all the mandatory fields, such as - App name, Subscription, Resource group, and the App service plan. Then, click Create.
Step 4 - Now, open Mobile App service. In the app deployment slot, click Quickstart and select Windows (C#) or Windows 8.1 (C#) platform.
Step 5 - In Windows (C#) blade, click connect a database. Now, in data connection blade, click "Add" for adding a new data connection and configure the database by required settings. Click create a New database.
Step 6 - In SQL database creation wizard, fill all the mandatory fields such as name, pricing tier, and click Select. In connection string, provide the username and password and click OK.
Step 7 - Then, in create table API, select the back-end language as C#
Step 8 - In configure your client app, click create a new application and then click Download button.
Now, download the mobile app from Azure Management Portal. Then, open the application using Visual Studio 2015 and host the application by deploying them in a simulator, emulator, or localhost. Run the Windows project and start working with data in your mobile background.