Azure & WP7 at GRDevDay

664 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
664
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Azure & WP7 at GRDevDay

  1. 1. Samidip Basu Manager| Columbus ADI Practice Solutions Lead | MSFT Mobility Email: [email_address] Twitter: @samidip Info: http://samidipbasu.info Blog: http://samidipbasu.com   Sogeti USA 8425 Pulsar Place, Suite 300 | Columbus, OH 43240. www.us.sogeti.com Best Buddies : Azure & Windows Phone!
  2. 2. Platinum Sponsor Gold Sponsors Silver Sponsors Thank you to all our sponsors
  3. 3. Central Ohio Windows Phone User Group http://cowpug.org http://meetup.com/cowpug @cowpug 3 rd Monday @ TechColumbus
  4. 4. http://www.m3conf.com/ @m3conf
  5. 5. * daily news * tutorials * exclusive articles * forums * free webinars * events * ebooks * newsletters SilverlightShow ( www.silverlightshow.net ) – online portal for everything Silverlight, XAML and Windows Phone, 10K+ members. CompletIT ( www.completit.com ) – 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
  6. 6. 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 .. Normal & Mangofied </li></ul><ul><li>Why consider OData </li></ul><ul><li>CRUD operations through Azure OData Service </li></ul><ul><li>Specific operations through Azure-hosted WCF Service </li></ul><ul><li>Azure Toolkit for WP7 .. ACS, Blobs, Tables & Push Notifications </li></ul>
  7. 8. 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
  8. 9. 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?
  9. 10. Push Notifications
  10. 11. It ’s not always Sunny & 73 o !!
  11. 12. 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><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>
  12. 13. Anatomy of a Live Tile .. Differentiate your presence!
  13. 14. O(h my ) Data <ul><li>“ 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. ” </li></ul><ul><li>“ Atom is an XML-based document format that describes lists of related information known as &quot;feeds&quot;. Feeds are composed of a number of items, known as &quot;entries&quot;, 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. ” </li></ul><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. (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 http://odata.org 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, the ecosystem has client libraries available for Windows Phone 7, iPhone, Silverlight 4, PHP, AJAX/Javascript, Ruby, or Java. </li></ul>
  14. 15. Some more love .. <ul><li>Think of it as RSS for real updateable data </li></ul><ul><li>Share Data & associated MetaData </li></ul><ul><li>Imp keyword: $metadata & $format ( may not honored by WCF Data Service by default; use HTTP headers ) </li></ul><ul><li>Filtering, Ordering & Paging (server-side, with cont. token) support </li></ul><ul><li>Starting to be a regular part of a lot of the MSFT stack or cloud-based products </li></ul><ul><li>And no, this is not a MSFT thing  </li></ul><ul><li>Possible to supply Credentials through HTTP Stack: </li></ul>
  15. 16. Windows Azure Toolkit for WP <ul><li>http://watwp.codeplex.com/ </li></ul><ul><li>Abstracts out some of the cloud stuff for Mobile devs </li></ul><ul><li>Great templates </li></ul><ul><li>Use of classic ASP.NET Membership or ACS </li></ul><ul><li>Push Notification framework built-in </li></ul><ul><li>Wade’s coming to Codemash! </li></ul>
  16. 17. Questions? Thank you !!

×