Client SDKs
With Microsoft Azure Mobile Services you can add a scalable backend to your connected client applications in minutes. To learn more, visit our Developer Center.
If you are new to Mobile Services, you can get started by following our tutorials for connecting your Mobile Services cloud backend to Windows Store apps, Windows Phone 8 apps, iOS apps, and Android apps.
To get the source code of our SDKs and samples via git just type:
git clone https://github.com/Azure/azure-mobile-services.git
cd ./azure-mobile-services/
Our managed portable library for Windows 8, Windows Phone 8, Windows Phone 8.1, and Windows Runtime Universal C# Client SDK makes it incredibly easy to use Mobile Services from your Windows applications. The Microsoft Azure Mobile Services SDK is available as a Nuget package or you can download the source using the instructions above. The managed portable library also supports the full .NET 4.5 platform.
The SDK requires Visual Studio 2013.
The managed portable library solution includes a core portable assembly and platform-specific assemblies for each of the supported platforms: Windows 8,
Windows Phone 8 and .NET 4.5. The core portable platform project is Microsoft.WindowsAzure.Mobile
. The platform-specific assembly projects are
named using a Microsoft.WindowsAzure.Mobile.Ext.<Platform>
convention. The Windows Phone 8 platform also
include a Microsoft.WindowsAzure.Mobile.UI.<Platform>
project that contain UI components. To build the Managed Portable Libray:
sdk\Managed\Microsoft.WindowsAzure.Mobile.Managed.sln
solution file in Visual Studio 2012.The managed portable library Microsoft.WindowsAzure.Mobile.Managed.sln
has a test application for each of the supported platforms: Windows 8,
Windows Phone 8 and .NET 4.5.
sdk\Managed\Microsoft.WindowsAzure.Mobile.Managed.sln
solution file in Visual Studio 2012.Set as StartUp Project
.Add a cloud backend to your iOS application in minutes with our iOS client SDK. You can download the iOS SDK directly or you can download the source code using the instructions above.
The SDK requires XCode 4.6.3 or greater.
sdk\iOS\WindowsAzureMobileServices.xcodeproj
file in XCode.Framework\iOS Device
.WindowsAzureMobileServices.framework
folder should be found in the build output folder under Products\<build configuration>-iphoneos
.WindowsAzureMobileServices.framework
from a Finder window into the Frameworks folder of the Project Navigator panel of your iOS application XCode project.sdk\iOS\WindowsAzureMobileServices.xcodeproj
file in XCode.WindowsAzureMobileServices\* Simulator
.Test\WindowsAzureMobileServicesFunctionalTests.m
file in the Project Navigator panel of XCode.settings.plist
file, set TestAppUrl
and TestAppApplicationKey
to a valid URL and Application Key for a working Mobile Service.Microsoft Azure Mobile Services can be used with an Android-based device using our Android SDK. You can get the Android SDK in one of the following two ways or you can download the source code using the instructions above.
compile 'com.microsoft.azure:azure-mobile-services-android-sdk:2.0.3'
in the dependencies section of build.gradle file of the appThe SDK requires Android Studio.
\azure-mobile-services\sdk\android
using the option Open an existing Android Studio Project
in Android Studio.sdk
folder and select Make Module 'sdk'
sdk-release.aar
should be present at \azure-mobile-services\sdk\android\src\sdk\build\outputs\aar
sdk-release.aar
to sdk-release.zip
classes.jar
should be present in the root folder.The SDK has a suite of unit tests that you can easily run.
\azure-mobile-services\sdk\android
using the option Open an existing Android Studio Project
in Android Studio.sdk
folder and select Make Module 'sdk.testapp'
sdk.testapp
and sub folder java
com.microsoft.windowsazure.mobileservices.sdk.testapp
, Select Run
, Select Tests in com.microsoft.windowsazure.mobileservices.sdk.testapp
(with Android tests icon)Our JavaScript SDK makes it easy to use our Microsoft Azure Mobile Services in a Windows 8 application or an HTML client. The Microsoft Azure Mobile Services for WinJS SDK is available as a Nuget package or you can download the source for both WinJS and HTML using the instructions above.
The Microsoft Azure Mobile Services for WinJS SDK requires Windows 8.1 and Visual Studio 2013 Update 3.
sdk\JavaScript\Microsoft.WindowsAzure.Mobile.JS.sln
file in Visual Studio.Alternatively, you can use Grunt from the command line to build the project as well.
For WinJS Windows Store apps, copy the Generated/MobileServices[.min].js
, Generated/MobileServices.DevIntellisense.js
and Generated/MobileService.pri
files into your WinJS project. For HTML applications, copy the Generated/MobileServices.Web[.min].js
and the Generated/MobileServices.DevIntellisense.js
files into your HTML\JavaScript project.
To run the WinJS Windows Store test app:
sdk\JavaScript\Microsoft.WindowsAzure.Mobile.JS.sln
file in Visual Studio.Microsoft.WindowsAzure.Mobile.WinJS.Test
project in the Solution Explorer and select Set as StartUp Project
.To run the HTML tests:
sdk\JavaScript\Microsoft.WindowsAzure.Mobile.JS.sln
file in Visual Studio.If you would like to become an active contributor to this project please follow the instructions provided in Microsoft Azure Projects Contribution Guidelines.
If you encounter any bugs with the library please file an issue in the Issues section of the project.