18
Azure Mobile Services for iOS David Isbitski Principal Technical Evangelist, Microsoft @thedavedev http://davedev.net [email protected]

Azure Mobile Services for iOS

Embed Size (px)

DESCRIPTION

Azure Mobile Services for iOS from my June Philly Cocoaheads Talk

Citation preview

Page 1: Azure Mobile Services for iOS

Azure Mobile Services for iOS

David IsbitskiPrincipal Technical Evangelist, Microsoft@thedavedevhttp://[email protected]

Page 2: Azure Mobile Services for iOS

http://lynda.com/davidisbitski

Page 3: Azure Mobile Services for iOS

Windows Azure Mobile ServicesDataPush NotificationsAuthDiagnostics & Scale

Agenda

Page 4: Azure Mobile Services for iOS

Data

Notifications

Auth

Server Logic

Scale

Logging

Diagnostics

What is Windows Azure Mobile Services?

Page 5: Azure Mobile Services for iOS

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

Page 6: Azure Mobile Services for iOS

a backend for your iOS apps in minutes

demoGetting Started

Page 7: Azure Mobile Services for iOS

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

AppX.TodoitemAppY.Todoitem

Manage data inPortalSQL PortalSQL Management StudioREST API…

Page 8: Azure Mobile Services for iOS

Server Logic

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

Page 9: Azure Mobile Services for iOS

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)

Page 10: Azure Mobile Services for iOS

adding server logic on CRUD operations

demoServer Logic

Page 11: Azure Mobile Services for iOS

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

Page 12: Azure Mobile Services for iOS

hooking up oAuth to Twitter in minutes

demoAdding Authentication

Page 13: Azure Mobile Services for iOS

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

Page 14: Azure Mobile Services for iOS

push notification lifecycle made easy

demoPush Notifications

Page 15: Azure Mobile Services for iOS

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

Page 16: Azure Mobile Services for iOS

demo

Diagnostics, Logging, Scale

Page 17: Azure Mobile Services for iOS

Summary

Data

Notifications

Auth

Server Logic

Scale

Logging

Diagnostics

Page 18: Azure Mobile Services for iOS

Azure Mobile Services for iOS

David IsbitskiPrincipal Technical Evangelist, Microsoft@thedavedevhttp://[email protected]