Real-time with ASP.NET SignalR and Azure Mobile .NET Backend

We just released an update for Azure Mobile Services .NET backend which enables you to use ASP.NET SignalR for real-time, bi-directional communications with your mobile applications. SignalR will use WebSockets under the covers when it’s available, and fallback to other “techniques” (i.e. HTTP hacks 😉 when it isn’t. Regardless of the mode, your application code…


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…


Using Xamarin.iOS preview of Mobile Services offline

Before we start The steps below are for the Xamarin plugin for Visual Studio. If you’re using Xamarin Studio instead, you should install the nuget addin for Xamarin and most of the instructions should be the same. Using offline in Xamarin.iOS Create a new Mobile Service or use an existing one and download the Xamarin…


Offline preview support for Xamarin.iOS and Xamarin.Android

You may have seen our new preview feature for offline support for Azure Mobile Services for Windows Store and Windows Phone applications. Today, we’re happy to announce preview support for Xamarin iOS and Xamarin Android, with the nuget packages for Azure Mobile Service Managed Client SDK 1.3 and Azure Mobile Service SQLite Store 1.0. We’ve written…


Using the Xamarin.Android preview of Mobile Services offline

Before we start The steps below are for the Xamarin plugin for Visual Studio. If you’re using Xamarin Studio instead, you should install the nuget addin for Xamarin and most of the instructions should be the same. Using offline in Xamarin.Android Create a new Mobile Service or use an existing one and download the Xamarin…


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…