Tutorials and Resources

Get started

Tutorial: Get started with Mobile Services

Learn how to add a cloud-based backend service to an app in minutes using Azure Mobile Services.

How to: Use the Mobile Services client library for Android

Learn how to perform common scenarios using the Android client library, including querying for data, inserting, updating, and deleting data, authenticating users, handling errors, and uploading data to blob storage.

How to: Use Mobile Services server scripts

Azure Mobile Services enables you to define custom business logic that is run on the server. This logic is provided as a JavaScript function that is either registered to an insert, read, update, or delete operation on a given table or is assigned to a scheduled job.

Data

Tutorial: Get started with data

Learn how you can use Mobile Services to store and retrieve data from an app.

Tutorial: Validate and modify data using server scripts

You can use server scripts to validate and modify data when you are inserting and updating it. This tutorial show you how to define and register server scripts with mobile services and how to modify your app to take advantage of the new behaviors you define through the scripts.

Tutorial: Add paging to your queries

This tutorial shows how you can use paging to manage the amount of data that Mobile Services returns to your app.

Users

Tutorial: Get started with authentication

Learn how to authenticate users in your app through a variety of identity providers, including Google, Facebook, Twitter, and Microsoft, and then leverage profile data to add features like greeting users by name.

Tutorial: Use scripts to authorize users

You can use scripts to authorize particular activities for authenticated users. This tutorial demonstrates how to create and register a script that filters data query results based on a userID, to ensure that users only access data that matches their userID values.

Push

Tutorial: Get started with push

Push notifications let you deliver information to your app's users through tile, badge, and toast notifications. This topic shows you how to use Mobile Services to send push notifications to an Android app. In this tutorial you add push notifications using the Google Cloud Messaging (GCM) service.

Tutorial: Push notifications to users

This topic extends the previous push notification tutorial by adding a new table to store Google Cloud Messaging (GCM) registration URIs, which can then be used to send push notifications to multiple users of the Android app.

Tutorial: Get started with Notification Hubs

You can use Notification Hubs to efficiently route push notification messages to millions of users simultaneously. This article shows the basics of using Notification Hubs with Mobile Services.

Services

Tutorial: Call a custom API from a client

Learn how to call a custom API from an Android app.

Tutorial: Schedule backend jobs in Mobile Services

Learn how to use the Mobile Services job scheduler functionality to define server script code that is executed on a schedule that you define.

Tutorial: Use New Relic to monitor Mobile Services

Learn how to use the New Relic add-on to provide enhanced monitoring of your mobile service.

Tutorial: Use Twilio for voice and SMS capabilities for Mobile Services

Your Mobile Services app can use Twilio to incorporate phone call and Short Message Service (SMS) functionality. This tutorial shows how to create custom API scripts that use the Twilio API to make phone calls and send SMS messages.

Tutorial: Send email from Mobile Services with SendGrid

Learn how to add email functionality to your Mobile Service using the SendGrid email service. This topic demonstrates how to add server side scripts to send email using SendGrid.

Tutorial: Recover in the event of a disaster

Learn how to use features built-in Azure to ensure business continuity in the event of availability problems.

Tools

Tutorial: Automate Mobile Services with command-line tools

This topic shows how to use use the Azure command-line tools to automate the creation and management of Azure Mobile Services. It describes how to install the tools and how to perform common tasks including creating a new mobile service, creating a table, registering a script on a table operation, deleting a table, and deleting an existing mobile service.

Reference: Commands to manage Mobile Services

Find Mobile Service commands to enable backend capabilities for your apps.

Tutorial: Store server scripts in source control

This topic shows you how to set up source control in Mobile Services to store server scripts in a Git repository.

Reference

API Reference: Client library for Android

The Mobile Services SDK for Android includes Java libraries to access mobile services from an Android application.

How to: Use the Mobile Services client library for Android

Learn how to perform common scenarios using the Android client library, including querying for data, inserting, updating, and deleting data, authenticating users, handling errors, and uploading data to blob storage.

API Reference: REST API reference

This reference provides general information for working with storage service APIs, as well as specific reference information for each available operation.