230 likes | 244 Views
WCL217. Building Connected Windows Store apps with Windows Azure Mobile Services. Nick Harris (@ cloudnick ) Windows Azure Tech Evangelist Microsoft Corporation. Agenda. Windows Azure Mobile Services Data Push Notifications Auth Diagnostics & Scale.
E N D
WCL217 Building Connected Windows Store apps with Windows Azure Mobile Services Nick Harris (@cloudnick) Windows Azure Tech Evangelist Microsoft Corporation
Agenda Windows Azure Mobile Services Data Push Notifications Auth Diagnostics & Scale
What is Windows Azure Mobile Services? Auth Data Notifications Logging Server Logic Scale Diagnostics
Key Scenarios Windows Azure Mobile Services are ideal for: Modern mobile apps Reduces the friction associated with repeating common tasks such as user authentication, push notifications, and structured storage Rapid Development Time is money. Get your app up and running sooner when you use Mobile Services to configure a straightforward and secure backend in less than five minutes. Apps requiring structured data Seamlessly connect to a Windows Azure SQL database for simple data management and dynamically created tables. Easy to set and manage permissions.
Getting Starteda backend for your mobile app in minutes Demo
Structured Storage Structured Storage with SQL Database If using single database apps are partitioned by schema AppX.Todoitem AppY.Todoitem Manage data in Portal SQL Portal SQL Management Studio REST API…
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
Server Logic Supported Modules + Globals mssql request console push tables statusCodes mssql.query('select top 1 * from statusupdates', { success: function(results) { console.log(results); } } );
Push Notification Lifecycle Overview Mobile Services Windows 8 Request Channel URI Register with your Cloud Service Authenticate & Push Notification App (2) (3) (1) Windows Push Notification Service Notification Client Platform (3)
Push Notifications Integrates with WNS to provide Toast, Tile and Badge notifications Portal captures your WNS client secret and package SID push.wns.* provides: clean easy object model to compose notifications Performs auth against WNS for you
Push Notifications Demo
Auth* Authenticate against Windows Live 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
Diagnostics, Logging and Scale Diagnostics API calls CPU Time Data Out Logging console.error(…) console.log(…) … 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
Demo DOTO Demo
Free Offer at Preview 10 Mobile Services 1GB SQL Database Unlimited ingress From WA Free Trial 165MB daily egress Running on shared instances Data transfer is per subscription, not per mobile service Must be deployed to US-East DC No SLA during Preview. Only small instances available. Can upgrade to a reserved instance at 33% discount from normal Pay-As-You-Go rates during Preview.
Pricing pricing & licensing service level agreements $ Shared Instance (multitenant environment) Small instance is the only size available; multiple may be purchased Free at public preview launch Up to 10 applications Reserved Instance (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 10 applications PreviewNo availability SLA General Availability99.9%
Summary Auth Data Notifications Logging Server Logic Scale Diagnostics
Resources • Mobile Services Developer Portal http://www.windowsazure.com/mobile • API Reference • http://bit.ly/Q3Aq6G • iOS and Android • http://chrisrisner.com/
© 2012 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.