attie naude 14 may 2013 windows azure mobile services

15
Attie Naude 14 May 2013 Windows Azure Mobile Services

Upload: janie-locks

Post on 31-Mar-2015

218 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Attie Naude 14 May 2013 Windows Azure Mobile Services

Attie Naude14 May 2013

Windows Azure Mobile Services

Page 2: Attie Naude 14 May 2013 Windows Azure Mobile Services

Azure Mobile Services Overview

1. Authentication• OAuth integration to well-known identity providers

o Microsofto Facebooko Twittero Google

2. Data Services• Easily provision tables and expose data

3. Push Notifications• Send notifications to mobile apps without polling

Page 3: Attie Naude 14 May 2013 Windows Azure Mobile Services

Capabilities

• 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.

• Supports scripts to inject business logic into data access operations.

• Integration with other cloud services.

• Supports the ability to scale a mobile service instance.

• Service monitoring and logging.

Page 4: Attie Naude 14 May 2013 Windows Azure Mobile Services

AZURE MOBILE DATA SERVICES

Page 5: Attie Naude 14 May 2013 Windows Azure Mobile Services

Azure Mobile Data Services

• Dynamic data schema• Allows rapid application development• Exposes RESTful API• Completely Cross-platform

• APIs for Win RT, Windows Phone, Android, iOS, Web• All other platforms can use simple HTTP requests to manipulate

data

• Allows for extension and customization via server-side JavaScript

Page 6: Attie Naude 14 May 2013 Windows Azure Mobile Services

Table Scripts• JavaScript code executed on Insert, Update, Delete or Read• Allows custom business logic to be added server-side

• Validation• Data enrichment• Authorization• Auditing• Push Notifications• Email notifications via SendGrid

• Used in TechEd apps for• Immediate Notifications

Page 7: Attie Naude 14 May 2013 Windows Azure Mobile Services

Validation

Page 8: Attie Naude 14 May 2013 Windows Azure Mobile Services

Authorization

Page 9: Attie Naude 14 May 2013 Windows Azure Mobile Services

Auditing

Page 10: Attie Naude 14 May 2013 Windows Azure Mobile Services

Data Enrichment

Page 11: Attie Naude 14 May 2013 Windows Azure Mobile Services

Scheduled Jobs

• Identical to table scripts, but runs periodically• Used in TechEd apps for

• Future-dated announcements• Upcoming session notifications (per user)• Live tile updates (per user)

Page 12: Attie Naude 14 May 2013 Windows Azure Mobile Services

PUSH NOTIFICATIONS

Page 13: Attie Naude 14 May 2013 Windows Azure Mobile Services

Push Notifications Overview

Page 14: Attie Naude 14 May 2013 Windows Azure Mobile Services

Push Notification Libraries

• push.wns• Windows Store Apps

• push.mpns• Windows Phone Apps

• push.gcm• Android Apps

• push.apns• iOS Apps

Page 15: Attie Naude 14 May 2013 Windows Azure Mobile Services

Demo

• Creation of Mobile Service• Creation of Tables• Using Data API via Windows Store app• Sending Push Notifications via Table Scripts• Adding support for Push Notifications to Windows Phone

app• Sending Push Notifications via Scheduled Jobs