1 / 22

Cross Platform Push with Azure

Cross Platform Push with Azure. Jason Farrell Centare – Chicago, IL @ jfarrell http://www.jfarrell.net. Who Am I ?. Staff Consultant for Centare Chicago Consultant for 6yrs (Chicago, Michigan, NYC) Variety of verticals Specializing in web, client, and mobile

mirari
Download Presentation

Cross Platform Push with Azure

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. Cross Platform Push with Azure Jason Farrell Centare – Chicago, IL @jfarrell http://www.jfarrell.net

  2. Who Am I? • Staff Consultant for Centare Chicago • Consultant for 6yrs (Chicago, Michigan, NYC) • Variety of verticals • Specializing in web, client, and mobile • Hockey and Travel enthusiast

  3. Who is Centare? Modern / Agile Transformation Teams Executives Organizations 3 Coaching 1 2 Assessment Training Modern / Agile Software Delivery Turnkey Off Site On Site 3 Milwaukee Chicago Madison Deep Platform Leadership 1 Agile Techniques ALM Cloud Teams Scale Flexibility 2

  4. Lets talk about why

  5. Push Notification by Platform

  6. Apple Push Notification Service (APNS) • Launch in 2009 • Device Token is for security, to identify the device • Payload size may NOT exceed 256 bytes • Shared with OSX (>= Lion)

  7. Service Polling • Service polls a remote service in the background (Twitter) • Google Cloud Messaging • Successor to Google Cloud to Device Messaging (C2DM) • 4KB payload limit • ID Based

  8. Microsoft Push Notification Service (MPNS) • Raw allows 1KB for payload size • Windows Notification Service (WNS) • Requires a token • 5kb payload size • Full featured • Send Raw, Tile, and Toast

  9. The Tiles

  10. How it works Push Notification Registration Send a request for a Push identifier Identifier received from Notification Service

  11. How it works Push Service

  12. Mobile Services

  13. A bit about Azure Mobile Services • Cloud based storage • Backed by SQL Azure • Integrated with node.js for Push Notifications • Supports authentication against Twitter, Facebook, Microsoft, and Google • No REST API for notifications

  14. node.js Integration • Full featured API for all push services • Can send badges for iOS, sound file, and additional data if desired • GCM sends a JSON object to the Android device, pull extras (demo) • MPNS has methods for each of the supported notification methods • WNS has a method for every support notification as well (over 50 ways)

  15. Pricing • Free and Reserved • Reserved is $0.10/hr per instance • Free is shared, Reserved is dedicated • Free 165MB outbound data per day • 5GB free on standard rates • Pay for the database – most subscriptions grant free DB space • ~$5/mn for a since DB between 0 and 100MB • http://bit.ly/MobileCalc

  16. Cross Platform Push Demonstration SignalR, MVC4, Web API, Objective-C, Java, C#, XAML, JavaScript

  17. How the Demo works Azure Mobile Services Web App Registration API Client Devices

  18. Closing Thoughts

  19. Resources • http://www.parse.com • http://bit.ly/AzureMS • http://bit.ly/windowsphonepush • http://bit.ly/Win8TileList • http://bit.ly/PushReference • http://bit.ly/PushDemoSource - Complete Demo Source code

  20. Questions or Comments

  21. Thank You

More Related