Understanding Azure Mobile Services

Introduction

This article will cover the following:

  • Brief concepts and prerequisites
  • Implementation – Creating a Mobile App Service on Azure portal
  • Implementation – Managing / Running the mobile app using VS 2017

What is Azure Mobile App?

  • Azure Mobile App Service allows the functionality of Azure App Service to add sign-in, push notifications, and data sync to your mobile app.
  • Connects your app to Enterprise systems and On-premises resources.
  • Scales your app to millions of customers across multiple geographies.

Prerequisites

Read the following article to create an Azure account and learn some basic information about Azure to get started.

Implementation – Create a Mobile App Service on Azure portal

Steps to be followed -

  • Open Azure portal, click on the "Add" symbol to add Web+Mobile, and then select the Mobile App.
  • Fill in the configurations with the mobile app name, use the existing resource group, and click on “Create”.
  • Go to the "App Services" section and see the newly created Mobile App.
  • Open the app-service, click on the “Quickstart”, and choose the Xamarian.Android platform.
  • Connect to the database. By that, we need to create a new database (with few options) and then choose C# as our back-end language.
  • Then, configure the application and choose the “Create A New App” option.
  • Then, click on the “Download” button mentioned in step-2 and download the code mentioned in step-3 as well.

Implementation – Manage/Run the mobile app using VS 2017

Steps to be followed:

  • Extract both the folders there and then open the “mobileapp08082017_Runtime” solution in VS 2017.
  • Restore the package, build the application, and then run the application using F5 to see the output below.
  • Open the Xamarian folder following by opening the application, then restore the packages and build the application.
  • Run the application and wait for some time to launch the Android Emulator. Shown below is the screenshot of the output. Now, you can test it with your Android version.

Happy learning!

Up Next
    Ebook Download
    View all
    Learn
    View all