1 / 23

Building Connected Windows Store apps with Windows Azure Mobile Services

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.

sutton
Download Presentation

Building Connected Windows Store apps with Windows Azure Mobile Services

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. WCL217 Building Connected Windows Store apps with Windows Azure Mobile Services Nick Harris (@cloudnick) Windows Azure Tech Evangelist Microsoft Corporation

  2. Agenda Windows Azure Mobile Services Data Push Notifications Auth Diagnostics & Scale

  3. What is Windows Azure Mobile Services? Auth Data Notifications Logging Server Logic Scale Diagnostics

  4. 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.

  5. Getting Starteda backend for your mobile app in minutes Demo

  6. 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…

  7. 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

  8. Server Logic Supported Modules + Globals mssql request console push tables statusCodes mssql.query('select top 1 * from statusupdates', { success: function(results) { console.log(results); } } );

  9. REST API to SQL type mappings

  10. Server Logicadding server logic on CRUD operations Demo

  11. 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)

  12. 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

  13. Push Notifications Demo

  14. 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

  15. Adding Authenticationintegrating with Windows Live Demo

  16. 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

  17. Diagnostics, Logging, Scale Demo

  18. Demo DOTO Demo

  19. 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.

  20. 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%

  21. Summary Auth Data Notifications Logging Server Logic Scale Diagnostics

  22. Resources • Mobile Services Developer Portal http://www.windowsazure.com/mobile • API Reference • http://bit.ly/Q3Aq6G • iOS and Android • http://chrisrisner.com/

  23. © 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.

More Related