Windows Azure Conference 2014 Windows Azure Mobile Services from ground up
Windows Azure Conference 2014 Building Apps Building Apps with mobile Service Data Storage Push Notifications Security and authentication Questions Agenda
What are we Building Apps for?
Windows Azure Conference 2014 Windows Azure Mobile Services
Windows Azure Conference 2014 Getting started with HTML / JS
Windows Azure Conference 2014 Powered by SQL Database Same DB – Multiple Mobile Services Data management in: – Windows Azure Portal – SQL Portal – SQL Management Studio – REST API – CLI Tools Structured Storage
Windows Azure Conference 2014 The REST API ActionHTTP VerbURL Suffix CreatePOST/TodoItem RetrieveGET/TodoItem?$filter=id%3D42 UpdatePATCH/TodoItem/id DeleteDELETE/TodoItem/id Data Operations and their REST Equivalents Base REST API Endpoint URL
Windows Azure Conference 2014 JSON to SQL Type Mappings JSON ValueT-SQL Type Numeric values (integer, decimal, floating point) Float BooleanBit DateTimeDateTimeOffset(3) StringNvarchar(max)
Windows Azure Conference 2014 Server Side Scripts Customizing data flow on the server
Windows Azure Conference 2014 Node Modules Extensibility through numerous modules
Windows Azure Conference 2014 Adding Server Logic
Windows Azure Conference 2014 Push Notifications Client (1) (2) (3)
Windows Azure Conference 2014 Pushing with Native
Windows Azure Conference 2014 User Authentication
Windows Azure Conference 2014 Table level permissions for each operation – Everyone – Anyone with the Application Key – Only Authenticated Users – Only Scripts and Admins User options in scripts – user.level (admin, authenticated, anonymous) – user.userId (provider:id or undefined) Data Authorization
Windows Azure Conference 2014 Adding Authentication with Xamarin
Windows Azure Conference 2014 Command Line Tools Scriptable control from PowerShell / Bash
Windows Azure Conference 2014 Using the CLI
Windows Azure Conference 2014 Execute scripts on a Schedule Execute scripts on demand Frequency and length of execution based off of service level Scheduler
Windows Azure Conference 2014 Non-table based scripts Accessible from: – Get – Post – Put – Patch – Delete Same permissions as Tables Custom API
Windows Azure Conference 2014 NPM Ability to use ‘npm install module’ to download NPM modules Currently accessible from Custom API only Script Source Control Shared Scripts Make scripts accessible from other scripts Like creating Node Modules Handled through Git repo Access to table, scheduler, custom API, shared scripts, and permissions
Windows Azure Conference 2014 Scheduler, Custom API, Script Source
Windows Azure Conference 2014 Diagnostics, Logging, Scale
Windows Azure Conference 2014 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
Windows Azure Conference 2014 Diagnostics, Logging, and Scale
Windows Azure Conference 2014 Preview Pricing $ Preview No availability SLA Shared (multitenant environment) Small instance is the only size available; multiple may be purchased First 10 Mobile Services are free, with no plans to start charging Reserved (private VM) Small instance is the only size available; multiple may be purchased Charge for Preview will be at the same reduced rate as Web Sites Up to 100 Mobile Services
Windows Azure Conference 2014 Mobile Services GA Pricing $ General Availability 99.9% FreeStandardPremium PriceFree Up to 10 services, Up to 100 Active Devices** $25 USD/mo (per unit**) $199 USD/mo (per unit**) API Calls500K (per subscription) 1.5M (per unit) 15M (per unit) ScaleN/AUp to 6 Standard units Up to 10 Enterprise units Scheduled JobsLimitedIncluded 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
Windows Azure Conference 2014