11
Get Started Azure An Introduction to Azure Mobile Services SENTHAMIL SELVAN 13 JAN 2015

Get started azure- Azure Mobile Services

Embed Size (px)

Citation preview

Page 1: Get started azure- Azure Mobile Services

Get Started Azure An Introduction to Azure Mobile ServicesSENTHAMIL SELVAN

13 JAN 2015

Page 2: Get started azure- Azure Mobile Services

Agenda

About Me

What is Azure Mobile Services?

Concepts

Supported Platforms

Data Storage & Access

Security & Authentication

How to set up?

Sample Mobile Application

Pricing

Resources

Page 3: Get started azure- Azure Mobile Services

Senthamil Selvan

Microsoft MVP (Windows Consumer Apps)

Working as Solution Architect at Xchanging Pte Ltd

Blog: http://altfo.wordpress.com

FB: www.facebook.com/altfo

My Page: https://www.facebook.com/pages/Math-Formulas-App/546631962132092

WPUG: https://www.facebook.com/groups/apolloexplorer/

Animal Taxonomy IUPAC Math Formulas Ultimate Player SG Parking SG Things To Do Mani Samayal Ultimate Cryptex SEASPC

Page 4: Get started azure- Azure Mobile Services

What is Azure Mobile Services?

Mobile Services is an Azure service offering designed to make it easy to create highly-functional mobile apps using Azure. Mobile Services brings together a set of Azure services that enable backend capabilities for your apps.

Mobile Services provides the following facilities in Azure to support your apps:

◦ Simple provisioning and management of tables for storing app data. ◦ Integration with notification services to deliver push notifications to your app.◦ Integration with well-known identity providers for authentication.◦ Granular control for authorizing access to tables.◦ Custom business logic on the server.◦ Integration with other cloud services.◦ Supports the ability to scale a mobile service instance.◦ Service monitoring and logging.

Mobile Services provides a client library for each supported platform, which makes it even easier to develop apps on your platform that consume Mobile Services.

Page 5: Get started azure- Azure Mobile Services

Concepts

•This kind of mobile service is implemented as a ASP.NET Web API project. Backend code is implemented as Web API controllers

.NET backend

•A unique value that is generated by Mobile Services, distributed with your app, and presented in client-generated requests.

Application key

•The access token that is generated by Mobile Services after a user is authenticated

Authentication token

•External service, such as Facebook, Twitter, Google, Microsoft Account, or Azure Active Directory, that is used to authenticate users of your mobile service

Identity provider

•This kind of mobile service is implemented as a node.js service. Backend code is written as JavaScript

JavaScript backend

•The minimum authentication level needed to invoke a table operation or custom API

Permission

•Service-initiated message that is sent to a registered device or user using Azure Notification Hubs

Push notification

•The ability to add, for an additional cost, more processing power, performance, and storage as your app becomes more popular

Scale

•Custom code that is run either on a pre-determined schedule or on-demand

Scheduled job

•Custom business logic code in a JavaScript backend mobile service. This code is registered to a table operation (read, insert, update, delete), custom API, or a scheduled job

Server script

•User data is stored in tables in a SQL Database. You can create these tables in the Management Portal

Table

Page 6: Get started azure- Azure Mobile Services

Supported Platforms and Features

Platforms

IOS

Android

Windows Phone

Windows 8

HTML/JavaScript

PhoneGap

Xamarin

Features Data and queries Push Notifications Authendication Server-side scripts Custom API Offline sync Mass push Git integration

Page 7: Get started azure- Azure Mobile Services

Data Storage & Access

Data Storage

SQL Database

Use New / Existing Database

Table Structure

Mongo DB

Data Access

REST API

OData Interface

GET, POST,PATCH, DELETE

Client SDK

Page 8: Get started azure- Azure Mobile Services

Security & Authentication

• Application Key

• Master Key

Security

• Microsoft Account

• Facebook

• Twitter

• Google

Authentication

Page 9: Get started azure- Azure Mobile Services

Demo – Azure Mobile Service

Signup Azure

Account

Login To Azure Portal

Navigate to

Mobile Services

Create New

Service

Add New Table

Create New App

Update App with

Client Code

Test the App

Page 10: Get started azure- Azure Mobile Services

PricingFREE 1 BASIC STANDARD

Price 2 Free

(up to 10 services / month)

$14.99 / month

per unit

$139.99 / month

per unit

API Calls 2 500 K 1.5 M / unit 15 M / unit

Active Devices 3 500 Unlimited Unlimited

Scale N/A Up to 6 units Unlimited units

Push NotificationsNotification Hubs Free Tier included,

up to 1 M pushes

Notification Hubs Basic Tier

included,

up to 10 M pushes

Notification Hubs Standard Tier

included,

up to 10 M pushes

Real time messaging & Web Sockets Limited 350 / mobile service Unlimited

Offline synchronizations Limited Included Included

Scheduled jobs 4 Limited Included Included

SQL Database 5

(required)

20 MB included,

Standard rates apply for additional

capacity

20 MB included,

Standard rates apply for additional

capacity

20 MB included,

Standard rates apply for additional

capacity

CPU capacity 60 minutes / day Unlimited Unlimited

Outbound data transfer 165 MB / day Included Included

Page 11: Get started azure- Azure Mobile Services

Resources

Documentation◦ http://azure.microsoft.com/en-us/documentation/services/mobile-services/

Authentication◦ http://azure.microsoft.com/en-us/documentation/articles/mobile-services-windows-phone-get-started-

users/

Adding Mobile Service (VS 2013)◦ http://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn263180.aspx

Push Notification◦ http://azure.microsoft.com/en-us/documentation/articles/mobile-services-javascript-backend-

windows-phone-get-started-push/