Push Notifications to PhoneGap Apps using Notification Hubs Integration

PhoneGap (a distribution of the Apache Cordova project) is a free and open source framework that makes it easier to create app for key mobile device platforms using standardized web APIs, HTML and JavaScript. The essence of PhoneGap is that you write your app once in HTML and JavaScript, then deploy this web-based code to…


Offline data sync in the Mobile Services iOS SDK

NOTE: this post is out of date. Please follow the tutorial Getting Started With Offline Data Sync.    We’ve just released a preview version of the Azure Mobile Services SDK for iOS with offline support. Like the offline support in the .NET SDK, we’re releasing a preview version of the offline so that we can…

15

Bring Your Own Database with the .NET Backend

Azure Mobile Services helps provision a database for you when you create a new mobile service. But what if you want to connect to your own, existing SQL Azure database with the .NET backend? For example: You have an existing Mobile Service that uses the Node backend and has a lot of data in the…


Retrieving data from 1:n relationship using .NET backend Azure Mobile Services

The .NET backend for Azure Mobile Services makes it easy to expose related tables via Entity Framework. However, related entities are not returned by default – for example, if you retrieve the list of orders from your orderController, it will not return the order items unless you explicitly ask for it. The way to request related…

9

Tables with Integer Keys and the .NET Backend

A question I’ve seen asked a few times on our internal email lists “how to expose tables that have integer keys in the database through the .NET Backend?”. The key is to use AutoMapper (see Mapping between Database Types and Client Types in the .NET Backend using AutoMapper an introduction). For example, the other day…


Connecting to an external Database with Node.js backend in Azure Mobile Services

Azure Mobile Services has recently released the new Hybrid Connections feature that provides an easy and effective way to connect to on-premises resources from your mobile service, available for both Node.js and .NET backends. One of the scenarios enabled by Hybrid Connections is utilizing a database hosted outside of Microsoft Azure from your Mobile Service…


Fixing errors when publishing different projects to a .NET backend

Quick post today. A few people in our team (and one in the forums) have hit an issue for which the current error logging doesn’t help too much, so write about this issue here. The problem is that when you try to publish a project to a mobile service where another project had been published…


Creating MongoDB-backed tables in Azure Mobile Services with .NET backend

One of the advantages of the .NET backend for Azure Mobile Services is that it has out-of-the-box support for multiple data storages, not only SQL Azure. In the node.js runtime you could bypass the SQL operations and use some other storage option (as in this post by Chris Risner for Azure Table Storage), but it’s…

7

Creating an Azure Mobile Services .NET backend from scratch

When learning a new feature I often like to understand the minimum pieces necessary to get it running. In the case of the .NET backend of azure mobile services, that would mean the smallest number steps required to go from an empty project to a running mobile service – no additional tooling required. Currently the…

6