Download presentation
Presentation is loading. Please wait.
Published byMartha York Modified over 9 years ago
1
Building Connected Android Apps with Azure Chris Risner Technical Evangelist Microsoft chrisner@microsoft.com @chrisrisner
2
Introduction Just a little bit about me
3
Agenda
4
What is Mobile Services?
6
Structured Storage Powered by SQL Database Same DB – Multiple Mobile Services Data management in Windows Azure Portal SQL Portal SQL Management Studio REST API CLI Tools
7
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/*
8
JSON to SQL Type Mappings JSON ValueT-SQL Type Numeric values (integer, decimal, floating point) Float(53) BooleanBit DateTimeDateTimeOffset(3) StringNvarchar(max)
9
Server Side Scripts Customizing logic on the server
10
Node Modules Extensibility through numerous included modules
12
Push Notifications Client (1) (2) (3) (4)
14
Notification Hubs (enhanced push) Highly scalable push notifications!
15
Data Authorization
16
User Auth Flow (server) GOOGLE FACEBOOK TWITTER MOBILE SERVICE DEVICE MICROSOFT
17
User Auth Flow (client) GOOGLE FACEBOOK TWITTER MOBILE SERVICE DEVICE MICROSOFT
18
The User object
20
Command Line Tools Scriptable control from PowerShell / Bash
22
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
23
Custom API Non-table based scripts Accessible from Get Post Put Patch Delete Same permissions as tables
24
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
26
Diagnostics, Logging, Scale
27
Service Scale Free 500K API calls per subscription per month Basic 1.5M API calls per unit per month Standard 15M API calls per unit per month
29
Mobile Services Tiers $ General Availability 99.9% FreeBasicStandard 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
30
Windows Azure Mobile Services
31
Resources Get a Windows Azure Free Trial Account http://www.windowsazure.com Videos, Tutorials, and More http://www.windowsazure.com/Android Source code on GitHub https://github.com/WindowsAzure/azure-mobile-services Contact Details chrisner@microsoft.com @chrisrisner
32
© 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.
33
OAuth Authentication Flow
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.