Successfully reported this slideshow.

More Related Content

Related Books

Free with a 14 day trial from Scribd

See all

Azure + WP7 - CodePaLOUsa

  1. 1. Local Touch – Global Reach Best Buddies : Azure & Windows Phone! Samidip Basu Manager| Columbus ADI Practice Solutions Lead | MSFT Mobility Email: Twitter: @samidipInfo: Blog:   Sogeti USA 8425 Pulsar Place, Suite 300 | Columbus, OH 43240.
  2. 2. Central Ohio Windows Phone User Group @cowpug 3rd Monday @ TechColumbus
  3. 3. @m3conf
  4. 4. SilverlightShow ( – online portal for everything Silverlight, XAML and Windows Phone, 10K+ members. * daily news * tutorials * exclusive articles * forums * free webinars * events * ebooks * newsletters CompletIT ( – Silverlight and Windows Phone trainings, consultations and development company, founder of SilverlightShow. * Individual and group, on-site and online trainings * Standard and custom course schedules * Trainings by Silverlight MVP, MCT
  5. 5. What’s on the plate ..  Getting back to your hot wife or girlfriend  - aka Push Notifications  Push Notifications from the cloud .. Normal & Mangofied  Why consider OData  CRUD operations through Azure OData Service  Real world M3Conf App & use of CDNs  Live Connect Services  Azure Toolkit for WP7 .. ACS, Blobs, Tables & Push Notifications
  6. 6. What is…the Cloud for a Mobile Developer? 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 A style of computing where massively scalable IT-enabled capabilities company. Today, it’s completely flipped. Cloud computing is the technical are delivered ‘as a service’ to external customers using Internet response to this reality. technologies. - Anthony Arrott - 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 Cloud is the worst buzzword I’ve ever heard. Vapor, something A way you can’t touch. I think monetization efficiency. of delivering value and it’s a lot of hype, but then again, here I - Jonathan Appavoo service. am offering that - Vance Checkletts The notion of data and applications and hardware sources being accessed remotely. - Kartik Hosanagar
  7. 7. Huh .. say that again? The Cloud is just another place to host your code/stuff, but you are billed like a utility. Comes with fluff & scalability Augment your Mobile Solutions with cloud support. Practicality?
  8. 8. Push Notifications
  9. 9. It’s not always Sunny & 73o !!
  10. 10. Push Notifications Contd.  Notification types – Live Tile Update, Toast or Raw; depending on type, notification is sent either to App or Shell.  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.  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.  Toast and Tile notification are system defined notification in Windows Phone 7 platform.  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.  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.
  11. 11. Anatomy of a Live Tile .. Differentiate your presence!
  12. 12. O(h my ) Data  “JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others. Most JSON comprises of a collection of name/value pairs & ordered list of values.”  “Atom is an XML-based document format that describes lists of related information known as "feeds". Feeds are composed of a number of items, known as "entries", each with an extensible set of attached metadata. For example, each entry has a title. The primary use case that Atom addresses is the syndication of Web content such as weblogs and news headlines to Web sites as well as directly to user agents.”  “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. (Source: MSDN Magazine, June 2010 Issue)”  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.  The OData protocol enables access to information from a broad range of clients. At present, the ecosystem has client libraries available for Windows Phone 7, iPhone, Silverlight 4, PHP, AJAX/Javascript, Ruby, or Java.
  13. 13. Some more love ..  Think of it as RSS for real updateable data  Share Data & associated MetaData  Imp keyword: $metadata & $format (may not honored by WCF Data Service by default; use HTTP headers)  Filtering, Ordering & Paging (server-side, with cont. token) support  Starting to be a regular part of a lot of the MSFT stack or cloud-based products  And no, this is not a MSFT thing   Possible to supply Credentials through HTTP Stack:
  14. 14. Live Services • Your users possibly use Live Services already • SkyDrive, Hotmail & Messenger • The Live Connect APIs use standard protocols such as HTTP, OAuth 2.0, JSON, XMPP & REST • All API details @ • Use what’s familiar to your users • Syncs across their devices
  15. 15. Windows Azure Toolkit for WP • • Abstracts out some of the cloud stuff for Mobile devs • Great templates • Use of classic ASP.NET Membership or ACS • Push Notification framework built-in
  16. 16. Local Touch – Global Reach Questions? Thank you !!