Presentation is loading. Please wait.

Presentation is loading. Please wait.

Building Windows Phone Apps with Mobile Services Speaker Name Speaker Title Speaker Company Email: Twitter:

Similar presentations


Presentation on theme: "Building Windows Phone Apps with Mobile Services Speaker Name Speaker Title Speaker Company Email: Twitter:"— Presentation transcript:

1 Building Windows Phone Apps with Mobile Services Speaker Name Speaker Title Speaker Company Email: Twitter:

2 Agenda

3 What is Mobile Services?

4

5 Structured Storage

6 The REST API ActionHTTP VerbURL Suffix CreatePOST/TodoItem ReadGET/TodoItem?$filter=id%3D42 UpdatePATCH/TodoItem/id DeleteDELETE/TodoItem/id https://Mobileservice.azure-mobile.net/tables/*

7 JSON to SQL Type Mappings JSON ValueT-SQL Type Numeric values (integer, decimal, floating point) Float(53) BooleanBit DateTimeDateTimeOffset(3) StringNvarchar(max)

8 Server Side Scripts Customizing logic on the server

9 Node Modules Extensibility through numerous included modules

10

11 Push Notification Lifecycle Overview Windows Phone (1) (2) (3) (1)

12 Push Notifications

13

14 Auth*

15 The User object

16

17 Custom API Non-table based scripts Accessible from Get Post Put Patch Delete Same permissions as tables

18 Using the Scheduler Execute scripts on a schedule Execute scripts on demand Frequency and length of execution based off of service level Ideal for backend data processing

19 Script Source Control Handled through GIT repo Access to table, scheduler, custom API, shared scripts, and permissions Shared Scripts Make scripts accessible from other scripts Just like creating Node.js modules NPM Ability to use ‘npm install module’ to download NPM modules

20

21 Command Line Tools Scriptable control from PowerShell / Bash

22

23 Diagnostics, Logging, Scale

24 Service Scale Free 500K API calls per subscription per month Standard 1.5M API calls per unit per month Premium 15M API calls per unit per month

25

26 Mobile Services Tiers $ General Availability 99.9% FreeStandardPremium Usage Restrictions Up to 10 services, Up to 500 Active Devices* N/A API Calls500K (per subscription) 1.5M (per unit) 15M (per unit) ScaleN/AUp to 6 Standard units Up to 10 Enterprise units Scheduled Jobs LimitedIncluded SQL Database (required) 20MB Included, Standard rates apply for more capacity 20MB Included, Standard rates apply for more capacity 20MB Included, Standard rates apply for more capacity

27 Windows Azure Mobile Services

28 Resources Get a Windows Azure Free Trial Account http://www.windowsazure.com Videos, Tutorials, and More http://www.windowsazure.com/mobile Source code on GitHub https://github.com/WindowsAzure/azure-mobile-services Contact Details mobileservices@microsoft.com Feature Requests

29 © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

30 API Authorization RESTAPIRESTAPI SCRIPTSSCRIPTS SECURITYSECURITY AdminApp KeyEveryone APP Key? Master Key? 403 on deny

31 Authenticated Users APP RESTAPIRESTAPI SCRIPTSSCRIPTS SECURITYSECURITY Valid User ID + Token

32 OAuth Authentication Flow


Download ppt "Building Windows Phone Apps with Mobile Services Speaker Name Speaker Title Speaker Company Email: Twitter:"

Similar presentations


Ads by Google