Your SlideShare is downloading. ×
In the Clouds with Windows Phone 7
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.


Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

In the Clouds with Windows Phone 7


Published on

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

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

No notes for slide


  • 1. IN THE CLOUDS WITHWINDOWS PHONE 7 Danijel Malik Artifis Danijel Malik s.p.
  • 2. AGENDA• Connect a phone with a Cloud // no need to call mom• Store data in Windows Azure Tables• Sync data with a Cloud or SQL Server• Build responsive phone client // you better call your mom• Push notifications• Windows Azure Toolkit for Window Phone 7
  • 3. WELCOME TO UNLIMITED WORLDPHONE CLOUD• Connected • Common endpoint• Pervasive • Scalable• Marketplace • „Pay as you go“ They make a great team!
  • 4. WHAT’S IN COMMON? • Common development tools • Emulator for development • Complementary application models • Phone: somtimes on, connected • Cloud: always available, running
  • 5. PHONE-INITIATED COMMUNICATION• HTTP-based, request/response• Framework choices (WCF, OData, WebRequest, …)• Wire format choices (SOAP, JSON, POX, …)
  • 6. Simple Client/Server applicationDEMO
  • 7. STORING AND SHARING DATA• SQL Azure • Familiar relational database • Highly available, managed for you • T-SQL• Windows Azure Tables • Non-relational structured storage • Scale-out, billions of rows • OData• Windows Azure Blobs • Big files • REST
  • 8. “HOUSTON CAN YOU HEAR ME?” KHHHKK…“…I think we lost the signal”• Phone is occasionally connected• Synchronize data, cache locally• Sync Framework 4.0 – CTP • Sync with SQL Server or SQL Azure • Silverlight, Windows Phone 7, HTML 5, … • Sync logic on the server, think clients
  • 9. Using Windows Azure Tables &Sync Framework 4.0 CTPDEMO
  • 10. WHEN AN APP LOOKS MORE LIKE A COMIC• Put long running operations in a background thread• Prevent doubling• Don’t wait for data• Reactive Extensions • LINQ based queries • Subscriptions • Async & Events
  • 11. Reactive ExtensionsDEMO
  • 12. CLOUD-INITIATED COMMUNICATION• Push notifications • Single connection between phone and Microsoft Push Notification service • Bandwidth- and battery-friendly • Delivery not guaranteed• Three kinds of push notifications: • Raw – message to application • Toast – message to user • Tile – image, title, count
  • 13. PUSH NOTIFICATIONS1. Phone opens a channel2. Phone sends URL to cloud 13. Cloud pushes notifications 4 to MPNS 34. Microsoft Push Notification service notifies phone 2
  • 14. IS THERE ANY FASTER WAY?• Windows Azure Toolkit for Windows Phone 7 • Proof of concept • ASP.NET MVC 2 (as a Web role) • Windows Phone 7 application • “Getting started” guide• Hire me 
  • 15. DEMO
  • 16. RESOURCES• us/library/gg507824.aspx• us/library/cc668772.aspx• us/library/ff637517(v=vs.92).aspx•• the-sync-framework-on-windows-phone-7/• 9/22/10066508.aspx
  • 17. QUESTIONS?
  • 18. DANIJEL MALIK @DanijelMalik