1 / 24

Building Windows Store Apps with Windows Azure Mobile Services

Building Windows Store Apps with Windows Azure Mobile Services. Nikola Metulev | @ metulev Windows Platform Technical Evangelist. Agenda. Windows Azure Mobile Services Data Push Notifications Auth Scheduler Diagnostics & Scale. What is Windows Azure Mobile Services?. Auth. Data.

ima-rosales
Download Presentation

Building 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. Building Windows Store Apps with Windows Azure Mobile Services Nikola Metulev | @metulev Windows Platform Technical Evangelist

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

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

  4. Key Scenarios Windows Azure Mobile Services are ideal for: Modern mobile apps Windows Store Apps, Windows Phone, iOS, Android Common Scenarios 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.

  5. Getting Started Demo: a backend for your mobile app in minutes

  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 • CLI Tools

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

  8. Supported Modules + Globals mssql request console push.* tables xml2js statusCodes Windows Azure Node SDK Windows Store Partners (Sengrid, Twillio, Pusher) Server Logic mssql.query(‘exec sprocDoStuff()', { success: function(results) { console.log(results); } } );

  9. REST API to SQL type mappings

  10. Server Logic Demo: adding server logic on CRUD operations

  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, Badge and Raw 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 Microsoft Account, Twitter, Facebook, Google • 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 Authentication Demo: hooking up Twitter in minutes

  16. Scheduler • Execute scripts on a Schedule • by Minutes • by Hours • by Days • by Months • 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

  17. Scheduler Demo: Poll Twitter and send notification on a schedule

  18. Diagnostics API calls CPU Time Data Out Logging console.error(…) console.log(…) console.warn(…) Diagnostics, Logging and Scale Scale - Compute Scale up to dedicated VM Scale out instance count Scale – Storage Scale out mobile service tenant to dedicated SQL DB Scale up SQL DB capacity

  19. Diagnostics, Logging, Scale Demo

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

  21. Useful Resources Get a Windows Azure Free Trial Account http://www.windowsazure.com/ Learn more & try tutorials Tutorials, Samples, Reference Docs: http://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:@cloudnick (Windows 8, Windows Phone 8), @chrisrisner (iOS, Android) Presentations, demos, hands on labs Windows Azure Training Kit: Download here

  22. Заповни АнкетуВиграй Призhttp://anketa.msswit.in.ua

More Related