Create A Xamarin.Forms App Using Azure Mobile Services

Prerequisites

  • Xamarin Studio Visual Studio Community Edition
  • Azure account

Now let's get started with the following steps:

Create a new Azure mobile app backend

Step 1: Sign in to the online Microsoft Azure Portal.

Step 2: In the Jumpbar, click New, then click Web + Mobile, and then Mobile App.

 
 
Step 3:

In the Mobile App account blade, specify the desired configuration for the Mobile App account (Name, & Resource Group). Click Create button at the bottom of the screen to create the Mobile App.
 
  
 
Step 4: In the Settings blade for the new Mobile App backend, click Quick start > your client app platform (Xamarin.Forms) > Connect a database,
  
Step 5:

In the
Add data connection blade, click SQL Database, then create a new database, type the database Name, choose a pricing tier and then click Server and New server blade, type a unique server name in the Server name field, provide a secure Server admin login and password.
 


Configure the server project

Step 1: Back in the Mobile App backend settings, click Quick start > your client platform (Xamarin.Forms).

Step 2: Under Create a table API, select your Backend language, either C# or Node.js:

 
Download and run the Xamarin.Forms app

Click Browse All, Mobile Apps, then the backend that you just created. In the mobile app settings, click "Quick start", then Xamarin.Forms. Under Configure your client application, click Download. This downloads a complete Windows project for an app pre-configured to connect to your backend and Open the project using Xamarin Studio or Visual studio Tools and ‘Run App' button to build the project and start the app in the emulator. 

Read more articles on Xamarin: