• Save
Azure + WP7 - CodePaLOUsa
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
726
On Slideshare
726
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Local Touch – Global Reach Best Buddies : Azure & Windows Phone!Samidip BasuManager| Columbus ADI PracticeSolutions Lead | MSFT MobilityEmail: Samidip.Basu@us.sogeti.comTwitter: @samidipInfo: http://samidipbasu.infoBlog: http://samidipbasu.com Sogeti USA8425 Pulsar Place, Suite 300 | Columbus, OH 43240.www.us.sogeti.com www.us.sogeti.com
  • 2. Central Ohio Windows Phone User Grouphttp://cowpug.orghttp://meetup.com/cowpug@cowpug3rd Monday @ TechColumbus
  • 3. http://www.m3conf.com/@m3conf
  • 4. SilverlightShow (www.silverlightshow.net) – onlineportal for everything Silverlight, XAML and WindowsPhone, 10K+ members.* daily news * tutorials* exclusive articles * forums* free webinars * events* ebooks * newsletters 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
  • 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. 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 theA style of computing where massively scalable IT-enabled capabilities company. Today, it’s completely flipped. Cloud computing is the technicalare 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, somethingA 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. 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. Push Notifications
  • 9. It’s not always Sunny & 73o !!
  • 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. Anatomy of a Live Tile .. Differentiate your presence!
  • 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 http://odata.org 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. 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. 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 @ https://manage.dev.live.com• Use what’s familiar to your users• Syncs across their devices
  • 15. Windows Azure Toolkit for WP• http://watwp.codeplex.com/• 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. Local Touch – Global ReachQuestions?Thank you !! www.us.sogeti.com