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

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

In the Clouds with Windows Phone 7

  • 290 views
Published

 

Published in Technology
  • 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
290
On SlideShare
0
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. 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• http://msdn.microsoft.com/en- us/library/gg507824.aspx• http://msdn.microsoft.com/en- us/library/cc668772.aspx• http://msdn.microsoft.com/en- us/library/ff637517(v=vs.92).aspx• http://blog.smarx.com/• http://www.afanaat.nl/index.php/2011/01/21/using- the-sync-framework-on-windows-phone-7/• http://blogs.msdn.com/b/johnalioto/archive/2010/0 9/22/10066508.aspx
  • 17. QUESTIONS?
  • 18. DANIJEL MALIKhttp://arkcore.wordpress.com danijel@artifis.si @DanijelMalik