Wired2Win Azure Webinar: Building Mobile Apps using Azure Mobile Services

Preview:

Citation preview

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Building Mobile Apps Using Azure Mobile Services

@WinWire

Wired2Win Azure Webinar Series

© 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

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Agenda

3

• Windows Azure Mobile Services

• Structured Storage

• Push Notifications

• Authentication

• Diagnostics and Scale

• Demo

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Windows Azure Mobile Services

Data

Notifications

Auth

Server Logic

Scale

Logging

Diagnostics

© 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

© 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

© 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

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Server Logic – Globals and Modules

mssql

request

console

Push.*

tables

Status codes

© 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

© 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

© 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

© 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

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Summary

© 2010 WinWire TechnologiesWinWire Technologies, Inc. Confidential

Thank youWrite to marketing@winwire.com for

your questions or to request a demo

Questions

14