1 / 33

Building mobile back ends with windows a zure m obile s ervices

Windows Azure Sydney User Group June 2013. Building mobile back ends with windows a zure m obile s ervices. Aidan Casey. Solutions architect @MYOB Australia. @AIDANJCASEY | acaseyblog.wordpress.com. Agenda. BaaS overview

boyd
Download Presentation

Building mobile back ends with windows a zure m obile s ervices

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. Windows Azure Sydney User Group June 2013 Building mobile back ends with windows azure mobile services

  2. Aidan Casey Solutions architect @MYOB Australia @AIDANJCASEY | acaseyblog.wordpress.com

  3. Agenda BaaS overview Windows Azure Mobile Services Features - Storage - Push Notifications - Authentication & Authorisation - Scheduler - Diagnostics & Scale

  4. How long does it take to build a mobile app?

  5. 18weeks! http://www.kinvey.com/blog/2086/how-long-does-it-take-to-build-a-mobile-app

  6. Why so long?

  7. Killer Idea Choose Technology User Experience Store Data Push Scale Social Integration Security Versioning Analytics API Geo Location

  8. Backend as a Service (BaaS) Store Data Push Scale Social Integration Security Versioning Analytics API Geo Location

  9. Notifications Data Auth Logging & Diag Server Logic Scheduler Scale

  10. SDK’s • Windows Store • Windows Phone 8 • iOS • Android • JavaScript github.com/WindowsAzure/azure-mobile-services

  11. Demo creating a new MOBILE SERVICES APP

  12. Storage Data

  13. Structured Storage • Windows Azure SQL Database • Dynamic schema on/off • Apps partitioned by schema • REST API generated per table (very data centric platform) • Access your data through the portal, SQL Management studio or REST API

  14. JSON -> SQL data types

  15. Demo USING THE Javascriptsdk

  16. Server side Logic

  17. Server Logic – node.js node.js on small azure VM’s (azure websites infrastructure) Server side pipeline hooks (interceptors) Out of the box you have access to the following node packages (June Release) - you now have access to NPM • request, console, push.*, tables, sql, statusCodes, azure, mssql

  18. Bypassing SQL Server storage • 1. Virtual Tables • 2 Create Custom API

  19. Notifications Notifications

  20. Push Notifications The global push object is used to send push notifications. Success & Error Callbacks are provided

  21. Push Notification Lifecycle Mobile Services iOS register app for push notifications register the apple send token to Mobile Service Server side script push.apns(…) App (2) (3) (1) Apple Push Notification Service (3)

  22. Demo Push notifications TO A Windows store app

  23. Authentication & Authorisation Auth

  24. Authorisation Table level authorization for CRUD operations Everyone: any request by anyone is accepted. Anyone with Application Key: app key distributed w/ the app (default) Authenticated Users: users authenticated by Live Connect. Scripts and Admins: registered scripts or requests via the master key Application Key should not be used in production !

  25. CLI & Diagnostics

  26. Scheduler Scheduler

  27. Cool Party Add-Ins from Azure Store

  28. Git publishing

  29. Free offer for current preview release 10 Mobile Services 1GB SQLDatabase Unlimited ingress 165MB daily egress 700 jobs a month Scheduler Running on shared instances Data transfer is per subscription, not per mobile service

  30. Resources • Official Videos & Tutorials • http://www.windowsazure.com/en-us/develop/mobile/ • Real world Use Cases & black belt tips • http://chrisrisner.com/Common-Scenarios-with-Windows-Azure-Mobile-Services • Mr Azure Mobile Services (Josh Twist) • http://www.thejoyofcode.com/ • Cloud Nick ( Nick Harris ) • http://www.nickharris.net/

  31. ?

More Related