1 / 38

Building Windows Phone 7 Applications with the Windows Azure Platform

Who Am I?. Technical Evangelist for the Windows Azure PlatformCo-host of a weekly Channel 9 show called Cloud Coverhttp://channel9.msdn.com/shows/cloud coverBuild resources for developersBuild demos for conference keynotes and sessionsWork with customers and partners adopting Windows Azurebl

maisie
Télécharger la présentation

Building Windows Phone 7 Applications with the Windows Azure Platform

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


    1. Building Windows Phone 7 Applications with the Windows Azure Platform Wade Wegner Windows Azure Technical Evangelist Microsoft Corporation

    2. Who Am I? Technical Evangelist for the Windows Azure Platform Co-host of a weekly Channel 9 show called Cloud Cover http://channel9.msdn.com/shows/cloud+cover Build resources for developers Build demos for conference keynotes and sessions Work with customers and partners adopting Windows Azure blog: http://www.wadewegner.com twitter: http://twitter.com/wadewegner

    3. Who Are You? Some Assumptions. Youre a developer (or used to be) building applications for Windows Phone 7 building applications for other mobile platforms curious to see how cloud computingand Windows Azurecan help mobile applications

    4. Why Phone + Cloud? The cloud levels the playing field The cloud provides a larger pool of resources from which to pull The cloud provides a way to reach across device platforms

    5. Why WP7 and Windows Azure? PaaS: you build it, Windows Azure runs it Automatic O/S patching Scalable Utility billing Additional services (e.g. ACS, Traffic Manager, Caching, CDN, etc.) Common development tools Visual Studio Languages Emulators for development

    6. BableCam Wade Wegner Windows Azure Technical Evangelist Microsoft Corporation demo

    7. Source Code will be available soon on: http://www.wadewegner.com/

    9. What are the pieces we just saw? Identity Storage Services Communications

    10. Idiom: Theres more than one way to skin a cat

    11. Identity

    12. Identity Options Create your own (e.g. username + password, token) Custom model ASP.NET Membership Providers Use a single existing identity system (e.g. Live Id, Facebook, etc.) Outsource identity management (e.g. Access Control Service)

    13. To learn more Authenticating Users in a Windows Phone 7 App via Access Control Service, OData Services and Windows Azure http://bit.ly/wp7acs

    14. Storage

    15. Storage SQL Azure Relational database Highly available Managed for you as a service Windows Azure Tables Non-relational structured storage Massive scale-out OData Windows Azure Blobs Big files REST

    16. SQL Azure: OData Service Client sends data to web role Web role stores data in SQL Azure

    17. Windows Azure Blobs: Public Blobs Client sends data to web role Web role stores data in blobs Client fetches public blobs directly

    18. Windows Azure Blobs: SAS Client gets Shared Access Signature from web role Client stores data in blobs Client fetches public blobs directly

    19. Windows Azure Tables: Proxy Calls Client sends data to web role Web role stores data in blobs

    20. Do not store your secrets on the phone

    21. Services

    22. Web Role versus Worker Role Web Role has IIS Worker Role does not DLL with Main() Both implement the RoleEntryPoint

    23. Scaling Work in Windows Azure Web role receives message Web role enqueues work Worker role polls queue Worker role sends notifications

    24. Multitenancy You can have more than one application running in your role instance

    25. Content Delivery Network

    26. Traffic Manager

    27. Communications

    28. Communications Two communication models Phone-initiated Cloud-initiated

    29. Phone-Initiated Communication Options HTTP-based, request/response Framework choices (WCF, OData, WebRequest, etc.) Wire format choices (SOAP, JSON, POX, etc.)

    30. Cloud-Initiated Communication Push Notifications Single connection between phone and Microsoft Push Notification Service Bandwidth- and battery-friendly No guarantee of delivery Three kinds of push notifications Raw send a message to an application Toast send a message to the user Tile update an image, title, or count

    31. Subscribing to Push Notifications Phone opens a channel Phone sends URL to cloud Cloud pushes notifications via URL Microsoft Push Notification service notifies phone

    32. What makes this easier?

    33. Windows Azure Toolkit for Windows Phone 7 (v1.1.0) announcing

    34. Windows Azure Toolkit for Windows Phone 7 Make it easier for phone developers to use Windows Azure Toolkit includes: Client libraries Sample applications Source code Documentation Get it: http://watoolkitwp7.codeplex.com/

    35. Windows Azure Toolkit for Windows Phone 7 Wade Wegner Windows Azure Technical Evangelist Microsoft Corporation demo

    36. Summary Phone <3 Cloud Important considerations Identity Storage Services Communications Windows Azure Toolkit for Windows Phone 7

    38. Speaker Time Changes

More Related