Azure WP7 fire starter


Published on

Slide-deck from Windows Azure & WP7 Firestarter event in Columbus, OH.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Azure WP7 fire starter

  1. 1. Samidip Basu Manager| Columbus ADI Practice Solutions Lead | MSFT Mobility Email: [email_address] Twitter: @samidip Info: Blog:   Sogeti USA 8425 Pulsar Place, Suite 300 | Columbus, OH 43240. Best Buddies : Azure & WP7
  2. 2. What’s on the plate <ul><li>Getting back to your hot wife or girlfriend  - aka Push Notifications </li></ul><ul><li>Push Notifications from the cloud [ Demo/Walkthrough ] </li></ul><ul><li>Introduction to OData </li></ul><ul><li>Browse Netflix with me [ Demo/Walkthrough ] </li></ul><ul><li>MVC3, EF 4.1, SQL Azure, OData & WP7 all play together [ Demo/Walkthrough ] </li></ul><ul><li>Why hold on to data & why expose </li></ul><ul><li>Azure Toolkit for WP7 [ Demo of template solution ] </li></ul><ul><ul><ul><ul><ul><li>August WP7 Sweepstakes -- </li></ul></ul></ul></ul></ul><ul><ul><ul><ul><ul><li>Free unlocked Samsung Focus or Free Marketplace Reg! </li></ul></ul></ul></ul></ul>
  3. 4. What is…the Cloud for a Mobile Developer? A style of computing where massively scalable IT-enabled capabilities are delivered ‘as a service’ to external customers using Internet technologies. - Gartner Cloud computing is Internet-based computing, whereby shared resources, software, and information are provided to computers and other devices on demand, like the electricity grid . -Wikipedia A way of delivering value and monetization efficiency. - Jonathan Appavoo The notion of data and applications and hardware sources being accessed remotely. - Kartik Hosanagar In a recent Economist survey, 20 years ago your typical knowledge worker got 80 percent of the info needed to do their job came from inside the company. Today, it ’s completely flipped. Cloud computing is the technical response to this reality. - Anthony Arrott Cloud is the worst buzzword I ’ve ever heard. Vapor, something you can’t touch. I think it’s a lot of hype, but then again, here I am offering that service. - Vance Checkletts
  4. 5. Huh .. say that again? The Cloud is just another place to host your code/stuff, but you are billed like a utility. Augment your Mobile Solutions with cloud support. Practicality?
  5. 6. Push Notifications
  6. 7. It ’s not always Sunny & 73 o !!
  7. 8. Push Notifications Contd. <ul><li>Notification types – Live Tile Update, Toast or Raw; depending on type, notification is sent either to App or Shell. </li></ul><ul><li>Tile – visual dynamic representation of application content within phone ’s start page, if pinned by user (through Context Menu); ongoing communication to user based on frequency of cloud service actions; the backend cloud service can control a tile’s background image (may be expensive if no local resource) & counter, as configured. </li></ul><ul><li>Toast – displays notification as an overlay onto user ’s current screen; intrusive & hence to be used sparingly; user may touch to launch application; cloud service may control title & subtitle of toast; appropriate for peer-to-peer apps; users have to have an explicit option to agree to toasts. </li></ul><ul><li>Toast and Tile notification are system defined notification in Windows Phone 7 platform. </li></ul><ul><li>Raw – App can receive messages from cloud constantly using PN; eliminates need for custom code to have persistent connection open with backend cloud service; only possible if app running in foreground. </li></ul>
  8. 9. Push Notifications Contd. <ul><li>For now, 3 rd party apps are not permitted to run in the background for efficiency reasons [changes in Mango]; hence need for communication channel from backend services so that apps need not be kept running to receive updates or keep polling & in turn draining battery. </li></ul><ul><li>Push Notification service (MPNS) is designed to provide a cloud service with a dedicated & persistent channel for pushing notifications to interested mobile devices. Interacts with carrier networks. </li></ul><ul><li>When a cloud service needs to inform user of something “interesting”, it sends a notification request to PN service. PN, in turn, routes the notification to subscribing devices as a Toast or Tile notification. </li></ul><ul><li>Enhanced Push Notifications in Mango – Improved TDET detection, Fast resume of channel, Max channels up to 30 now and API enhancements to handle multiple 2-sided tiles & deep-linked Toasts. </li></ul>
  9. 10. Anatomy of Live Tiles
  10. 11. O(h my ) Data <ul><li>“ In very simple terms, OData is a resource-based Web protocol for querying and updating data. OData defines operations on resources using HTTP verbs (PUT, POST, UPDATE and DELETE), and it identifies those resources using a standard URI syntax. Data is transferred over HTTP using the AtomPub or JSON standards. For AtomPub, the OData protocol defines some conventions on the standard to support the exchange of query and schema information. (Source: MSDN Magazine, June 2010 Issue)” </li></ul><ul><li>Services that expose their data using the OData protocol are referred to as OData producers, and clients that consume data exposed using the OData protocol are referred to as consumers. Head over to for more information about Odata, a list of current producers & consumers and what all this means for developers. </li></ul><ul><li>The OData protocol enables access to information from a broad range of clients. At present, there are client libraries available for Windows Phone 7, iPhone, Silverlight 4, PHP, AJAX/Javascript, Ruby, or Java. </li></ul><ul><li>State of the web </li></ul>
  11. 12. Questions? Thank you !!