Azure Mobile Services for Cross Platform Mobile Apps

Embed Size (px)

Text of Azure Mobile Services for Cross Platform Mobile Apps

GfK / WinWire Collaboration

Azure Mobile Services for Cross Platform Mobile AppsNotes:If you experience audio issues during the webinar, you can dial in through telephone details provided to you in your registration confirmation email. Please feel free to post questions in the questions dialog and we will try to answer as many as we can at the end. Recording of this session will be shared in next 24-48 hours. You can also write to us at for any clarifications or information.


Session Speakers

Amit Dubay

Director Cloud & MobilityWinWire TechnologiesMicrosoft Azure Certified Developer


AgendaOffline Data SyncServer Scripts and Push NotificationsAuthentication ModesIntroduction to Azure Mobile ServicesDemo12345Questions6


Introduction to Azure Mobile Services

Windows Azure Mobile Services Accelerates connected client application development by streamlining common backend tasks like structuring storage, authenticating users, and sending push notifications.

Key ScenariosMake your app engaging and dynamicPush notifications and Live Tiles is the premier way to engage your customers. Make your app engaging and dynamic using Mobile Services Push. Rapid DevelopmentTime is money. Get your app up and running sooner when you use Mobile Services to configure a secure backend in less than five minutes.Make your app socialWhether your customers use Google, Facebook, Twitter, or Microsoft Account, no matter what devices they run your app on, with Mobile Services you can makes your app social and personable fast.

Basic FeaturesConnected AppsSDKs

Source control, table scripts, custom API



Push Notifications

Store Data in the Cloud

User Authentication

FacebookTwitterMicrosoftGoogleActive DirectorySQLTable StorageBlob StorageWNS & MPNSAPNSGCM

Mongo DB

Windows Store iOSAndroid

Windows Phone 8iOSAndroidHTML 5/JSXamarin


Supported Platforms


Windows 8

Windows Phone


HTML5 & Javascript

AuthenticationMobile Services integrates with the following identity providers to make it easy to authenticate users from your app: Microsoft Account Facebook login Twitter login Google login To enable authentication, you must first register your app with one or more of these identity providers and then configure your mobile service. You must also add authentication code to your app. When a user login is authenticated by Mobile Services, the value of the userId property on the user object passed to server scripts is set to a value that uniquely identifies a user. This value can then be used to authorize access to data.

Server Script ObjectsNameDescriptionapns Provide functionality to send notifications to Apple Push Notification Service (APNS)console Write information to Services logsgcm Provide functionality to send notifications to Google Cloud Messaging (GCM)mpns Provide functionality to send notifications to Microsoft Push Notification Service (MPNS)mssql Provides functionality for working directly with tables in the SQL Database using Transact-SQLpush Provides access to objects that are used for sending push notifications to appsQuery Provides functionality for querying Windows Azure Mobile ServicesRequest Used to execute the requested operation and determine the response to the clientstatusCodes Enumerates the supported HTTP status codes can be returned by Windows Azure Mobile ServicesTable Provides functionality for working with specific tables (insert, del, update, where, take, select, etc.)tables Provides functionality for working with specific tables as a Table object instanceUser Represents the current requesting user.wnsProvide functionality to send notifications to Windows Notification Service (WNS)

Server Script ModulesNameDescriptionazureProvides functionality to access Azure services (Blobs, Tables, Service Bus)requestSends HTTP requests to external web services, such as Twitter and Facebook.sendgridUsed to send email by using the Sendgrid email service.utilProvides useful methods like format, isDate, isArray, isErrorxml2jsXML to JavaScript object converterjs2xmlJavaScript to XML object converterxmlbuilderCan be used to create XML documentssaxA very simple tool to parse through an XML string

Push NotificationsMobile Services can send push notifications to your apps. The way that you configure and send push notifications depends on your app.You can send push notifications to the following applications:Windows Store app by using the Windows Push Notification Service (WNS). To send push notifications to your app, you must configure your mobile service to work with WNS.iPhone and iPad apps by using the Apple Push Notification Service (APNS). To send push notifications to your app, you must configure your mobile service to work with APNS. Do this by generating a special push notification certificate at the iOS Provisioning PortalAndroid: You can send push notifications to Android apps by using the Google Cloud Messaging (GCM) service. To send push notifications to your app, you must configure your mobile service to work with GCM. Windows Phone 8 app by using the Microsoft Push Notification Service (MPNS). Mobile Services does not require you to register your Windows Phone 8 app to send push notifications.

Offline Data Sync

Improve app responsiveness by caching server data locally on the device

Create robust apps that remain useful when there are network issues

Allow end-users to create and modify data even when there is no network access, supporting scenarios with little or no connectivity

Sync data across multiple devices and detect conflicts when the same record is modified by two devices

Limit network use on high-latency or metered networksOffline data sync is a client and server SDK feature of Azure Mobile Apps that makes it easy for developers to create apps that are functional without a network connection


Q & ANext WebinarTopic : Angular JS 2 - New Paradigm of Application Development

When: Feb 3rd at 9am PT