1 / 15

Building Windows Phone Apps with Windows Azure Mobile Services

Building Windows Phone Apps with Windows Azure Mobile Services. Dmitry Krainyk DataArt. Agenda. Windows Azure Mobile Services Data Push Notifications Auth Diagnostics & Scale. What is Windows Azure Mobile Services?. Auth. Data. Notifications. Logging & Diag. Server Logic.

zizi
Download Presentation

Building Windows Phone 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 Phone Apps with Windows Azure Mobile Services Dmitry Krainyk DataArt

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

  3. What is Windows Azure Mobile Services? Auth Data Notifications Logging & Diag 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. 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 Custom API

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

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

  8. REST API to SQL type mappings

  9. Push Notification Lifecycle Overview Mobile Services WP 8 Request Channel URI Register with your Cloud Service Authenticate & Push Notification App (2) (3) (1) Windows Push Notification Service Notification Client Platform (3)

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

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

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

  13. Pricing during Preview service level agreements reserved mode shared mode PreviewNo availability SLA* General Availability99.9% Shared Instance Small instance is the only size available Free - 10 applications with unlimited inbound data. Capped max of 165MB outbound data/day Pay - SQL Database Private VM Small instance is the only size available Free - unlimited inbound data. 165MB outbound data/day, excess charged. Pay - SQL Database, Compute same reduced rate as Web Sites i.e 33% discount, excess outbound transfers starting at $0.12/GB Up to 100 applications

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

  15. Q&A: Dmitry Krainyk, DataArt 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 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

More Related