1 / 27

Getting Mobile with the Cloud

http://chrisrisner.com @ chrisrisner. Getting Mobile with the Cloud. Chris Risner Technical Evangelist Microsoft. How we got here Mobile Services Features and demos Questions. What we’re going to talk about. How did we get here?. What we had. Storage. Identity. Cloud services.

aelwen
Download Presentation

Getting Mobile with the Cloud

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. http://chrisrisner.com @chrisrisner Getting Mobile with the Cloud Chris Risner Technical Evangelist Microsoft

  2. How we got here • Mobile Services • Features and demos • Questions What we’re going to talk about

  3. How did we get here?

  4. What we had Storage Identity Cloud services

  5. What we needed Cross Platform Features

  6. What we made

  7. What is Windows Azure Mobile Services? Auth Data Notifications Logging & Diag Server Logic Scheduler Scale

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

  9. Structured Storage Structured Storage with SQL Database Same DB – multiple Mobile Services AppX.Todoitem AppY.Todoitem Manage data in Portal, SQL Portal SQL Management Studio REST API CLI Tools

  10. REST API to SQL type mappings

  11. Server Logic Automatic REST API generated for storage Dynamic Schema on/off Ability to customize server logic that intercepts table requests

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

  13. Server Logicadding server logic on CRUD operations Demo

  14. Push Notification Lifecycle Overview Mobile Services iOS Register for push notifications Register with your send token to Mobile Service Push from server side scripts App (2) (3) (1) Apple Push Notification Service (3)

  15. Push Notifications Demo

  16. User Auth

  17. AuthData and Scripts 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

  18. Adding Authenticationintegrating with Twitter Demo

  19. Command Line Tools Create services Delete services Create (with auth options), update, delete, list tables Upload, delete, download, list scripts Get, change configuration Scale up, scale down

  20. Using the CLI Demo

  21. Scheduler Execute scripts on a Schedule Execute scripts on Demand Examples Periodic purge of old data Poll and aggregate from 3rd party (Twitter, RSS, others) Process/resize images Schedule sending push notifications for a given time of day

  22. Scheduling a taskAdding Todo Items Demo

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

  24. Diagnostics, Logging, Scale Demo

  25. Pricing Example: $5/ Month Unlimited data in = <165MB daily out 100MB SQL Database 10 x Mobile Services on shared instances • How? • 10 FREE mobile services on shared instance • Includes 165MB/day of FREE data out from API calls • Cost - All services sharing a 100MB DB is $5 USD / Month • Use Pricing Calculator to Estimate your costs Note: Free data out is per subscription, not per mobile service

  26. Summary Auth Data Notifications Logging & Diag Server Logic Scheduler Scale

  27. Useful Resources Get a Windows Azure Free Trial Account http://www.windowsazure.com/ Learn more Find videos, tutorials and more at https://www.windowsazure.com/mobile Help with Mobile Services Q&A Forum: Windows Azure Mobile Services Forum Feature Rqst: Windows Azure Mobile Services UserVoice Feedback: mobileservices@microsoft.com Twitter: @chrisrisner Presentations, demos, hands on labs Windows Azure Training Kit: Download here

More Related