Tutorials and Resources

Learn how to build apps with Azure Mobile Services.

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 a .NET client with Mobile Services

Learn how to perform common scenarios using the .NET 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.


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.

Tutorial: Handle database write conflicts

Mobile Services provides support for detecting and resolving conflicts that can occur when two or more clients write to the same database record. This tutorial walks you through the steps that allow you to handle database write conflicts on both the server and in your application.


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: Authenticate with Live Connect single sign-on

Learn how to use Live Connect to provide single sign-on authentication in your app. With single sign-on, users can log in to your app once, rather than logging in every time the app starts.

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.


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 the Microsoft Push Notification Service (MPNS) with Mobile Services to send push notifications to an app.

Tutorial: Push notifications to users

This topic extends the previous push notification tutorial by adding a new table in Mobile Services to store Microsoft Push Notification Service (MPNS) channel URIs.

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.


Tutorial: Call a custom API from a client

Learn how to call a custom API from a Windows Store 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: Upload Images to Azure Storage

Learn how to use Mobile Services to enable your app to upload and store user-generated images in Azure Storage.

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.

How to: Use multiple clients with a single mobile service

Learn how to use a single mobile service back-end from multiple client apps that target different mobile platforms, including Windows Store and Windows Phone.


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.


API Reference: Client library for .NET

The Azure Mobile Services SDK includes client libraries that enable both Windows Store and Windows Phone 8 app development using XAML and either C# or Visual Basic. This section provides detailed information about using these client libraries.

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.