How To Add Azure Mobile Apps Quickstart Service To Xamarin Forms App

Prerequisites

  • Visual Studio Community Edition or Xamarin Studio.
  • Azure account.

Now, let's get started with the following steps. Create a new Azure Mobile App back-end.

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

Step 2 - Click +NEW and type Mobile Apps in Search the marketplace. Select Mobile Apps Quick Start.

Microsoft Azure Portal.

Step 3 - Next, click Create button in the Mobile App Quickstart page.

Quickstart

Step 4 - In the Mobile App Quickstart 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 Quickstart.

Quickstart

We will wait a few minutes for the service to be deployed successfully.

Download the client project

Step 5 - In the Settings blade for the new Mobile App backend, click Quickstart and select Xamarin.Forms.

Quickstart

Step 6 -
In the Quickstart blade for your Mobile App back-end, choose "Create a new app" and click Download button.

Quickstart

This downloads a complete Xamarin project for an app pre-configured to connect to our back-end.

Run the client project

Step 7 - Open the downloaded project, extract it, and then open it in Visual Studio or Xamarin Studio. Next, build the project and click "Run".

Summary - I hope you understood how to add a cloud-based back-end service to a Xamarin.Forms App, using Azure Mobile Apps.


Similar Articles