azure mobile services for ios

Post on 24-May-2015

213 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Azure Mobile Services for iOS from my June Philly Cocoaheads Talk

TRANSCRIPT

Azure Mobile Services for iOS

David IsbitskiPrincipal Technical Evangelist, Microsoft@thedavedevhttp://davedev.netdavid.isbitski@microsoft.com

http://lynda.com/davidisbitski

Windows Azure Mobile ServicesDataPush NotificationsAuthDiagnostics & Scale

Agenda

Data

Notifications

Auth

Server Logic

Scale

Logging

Diagnostics

What is Windows Azure Mobile Services?

Windows Azure Mobile Services are ideal for:

Modern mobile appsReduces the friction associated with repeating common tasks such as user authentication, push notifications, and structured storage

Rapid DevelopmentTime is money. Get your app up and running sooner when you use Mobile Services to configure a straightforward and secure backend in less than five minutes.

Apps requiring structured data Seamlessly connect to a Windows Azure SQL database for simple data management and dynamically created tables. Easy to set and manage permissions.

Key Scenarios

a backend for your iOS apps in minutes

demoGetting Started

Structured StorageStructured Storage with SQL DatabaseIf using single database apps are partitioned by schema

AppX.TodoitemAppY.Todoitem

Manage data inPortalSQL PortalSQL Management StudioREST API…

Server Logic

Automatic service REST API generated for storageDynamic Schema on/offAbility to author server logic that intercepts CRUD operation pipelineRich querying capability

REST API to SQL type mappings

JSON Value T-SQL TypeNumeric values (integer, decimal, floating point)

Float(53)

Boolean BitDateTime DateTimeOffset(3)String Nvarchar(max)

adding server logic on CRUD operations

demoServer Logic

Auth*

Authenticate against Windows LiveTable level permissions for each CRUD operation

EveryoneAnyone with the Application KeyOnly Authenticated UsersOnly Scripts and Admins

More granular control with server side scripts

hooking up oAuth to Twitter in minutes

demoAdding Authentication

Push Notifications

Integrates with WNS to provide Toast, Tile, Badge and Raw notificationsPortal captures your WNS client secret and package SIDpush.wns.* provides:

clean easy object model to compose notifications

Performs auth against WNS for you

push notification lifecycle made easy

demoPush Notifications

Diagnostics, Logging and Scale

DiagnosticsAPI callsCPU TimeData Out

Loggingconsole.error(…)console.log(…)

Scale - ComputeScale out instance countScale up VM size

Scale - StorageScale out mobile service tenant to dedicated SQL DBScale up SQL DB

demo

Diagnostics, Logging, Scale

Summary

Data

Notifications

Auth

Server Logic

Scale

Logging

Diagnostics

Azure Mobile Services for iOS

David IsbitskiPrincipal Technical Evangelist, Microsoft@thedavedevhttp://davedev.netdavid.isbitski@microsoft.com

top related