Transcript
Page 1: Wired2Win Azure Webinar: Building Mobile Apps using Azure Mobile Services

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Building Mobile Apps Using Azure Mobile Services

@WinWire

Wired2Win Azure Webinar Series

Page 2: Wired2Win Azure Webinar: Building Mobile Apps using Azure Mobile Services

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

WinWire Technologies is an IT Services Company that

helps business and technology leaders harness the power of Collaboration

and Analytics across the enterprise leveraging

technology trends such as cloud, mobility, big data,

user interface and enterprise social

Who We Are

Page 3: Wired2Win Azure Webinar: Building Mobile Apps using Azure Mobile Services

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Agenda

3

• Windows Azure Mobile Services

• Structured Storage

• Push Notifications

• Authentication

• Diagnostics and Scale

• Demo

Page 4: Wired2Win Azure Webinar: Building Mobile Apps using Azure Mobile Services

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Windows Azure Mobile Services

Data

Notifications

Auth

Server Logic

Scale

Logging

Diagnostics

Page 5: Wired2Win Azure Webinar: Building Mobile Apps using Azure Mobile Services

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Why WAMS?

• Windows Store, iOS, AndroidModern

mobile apps

• User authentication• Push notifications• Structured storage

Eases common scenarios

• Straightforward and secure backend in less than five minutes

Rapid development

Page 6: Wired2Win Azure Webinar: Building Mobile Apps using Azure Mobile Services

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Structured Storage

• Backed by Windows Azure SQL Database

• Multi-tenant databases partitioned by schema• AppX.ToDoItem

• AppY.ToDoItem

• Multiple ways to access data• Windows Azure Portal

• SQL Portal

• SQL Management Studio

• REST API

Page 7: Wired2Win Azure Webinar: Building Mobile Apps using Azure Mobile Services

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Server Logic

Automatic service REST API generated for storage

Dynamic Schema on/off

Ability to author server logic that intercepts CRUD operation pipeline

Rich querying capability

Page 8: Wired2Win Azure Webinar: Building Mobile Apps using Azure Mobile Services

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Server Logic – Globals and Modules

mssql

request

console

Push.*

tables

Status codes

Page 9: Wired2Win Azure Webinar: Building Mobile Apps using Azure Mobile Services

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Push Notifications

Windows 8

(1)

(2)

(3)

(3)

1. Request Channel URI

2. Register with your Cloud Service

3. Authenticate & Push Notification

Page 10: Wired2Win Azure Webinar: Building Mobile Apps using Azure Mobile Services

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

• Integrates with WNS to provide Toast, Tile, Badge and Raw notifications

Push Notification

• Portal captures your WNS client secret and package SID

• Provides clean easy object model to compose notifications

• Performs auth against WNS for you

Page 11: Wired2Win Azure Webinar: Building Mobile Apps using Azure Mobile Services

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Auth*

• Authenticate against Microsoft Account, Twitter, Facebook, Google

• Table level permissions for each CRUD operation• Everyone

• Anyone with the application key

• Only authenticated users

• Only scripts and admins

• More granular control with server side scripts• user.level: {admin, authenticated, anonymous}

• user.userId: id or undefined if not authenticated

Page 12: Wired2Win Azure Webinar: Building Mobile Apps using Azure Mobile Services

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Diagnostics, Logging and Scale

Diagnostics• API calls

• CPU Time

• Data Out

Logging

Scale – Compute• Scale out instance count

• Scale up VM size

Scale – Storage• Scale out mobile service

tenant to dedicated SQL DB

• Scale up SQL DB capacityScale

Logging

Diagnostics

Page 13: Wired2Win Azure Webinar: Building Mobile Apps using Azure Mobile Services

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Summary

Page 14: Wired2Win Azure Webinar: Building Mobile Apps using Azure Mobile Services

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Thank youWrite to [email protected] for

your questions or to request a demo

Questions

14