SlideShare una empresa de Scribd logo
1 de 38
Windows Phone 7 Li Jingnan / Wang Tao 2011-7-15 1
2 days 2
about anytao| Ethos <ethos:Member    id = “Wang Tao”    msn = anytao@live.com weibo = http://weibo.com/anytao runat = “Senior System Architect” /> Jason | Ethos <ethos:Member    id = “Li Jingnan”    msn = zengnami@hotmail.com weibo= http://weibo.com/jn1981 runat = “SE” />
about http://book.anytao.net
13 Working with Azure Wang Tao / 2011-07-15 Senior System Architect
session outline Overview Windows Azure toolkit for WP7 overview why phone + cloud? why WP7 + Azure? 5min Azure identity storage service communications
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
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
5m about Azure 9
Windows Azure Platform Scalable compute and storage Automated service management Familiar tools, technologies, languages  Relational storage for the cloud Consistent development model Automated database management Connect existing apps to the cloud Connect through network boundaries Easily control authorization to apps
WAZ Storage Any pictures? Windows Azure SAS Process Image User Authentication Store Image in Windows Azure Blob Storage Process Image Send Notification Username & Password Access Token Access Token Shared Access Signature Original Text Translated Text Translated      Text Translated     Text Microsoft Push Notification Service Bing Translator
what are the pieces we just saw? identity storage services communications
identity
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)
storage
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
SQL Azure: OData Service client sends data to web role web role stores data in SQL Azure (2) Web Role (1)
Windows Azure Blobs: public blobs client sends data to web role web role stores data in blobs client fetches public blobs directly (2) Web Role (3) (1)
Windows Azure Blobs: SAS client gets Shared Access Signature from web role client stores data in blobs client fetches public blobs directly Web Role (2) (3) (1)
Windows Azure Tables: Proxy Calls client sends data to web role web role stores data in blobs (2) Web Role (1)
do not store your secrets on the phone
services
Web Role versus Worker Role Web Role has IIS Worker Role does not DLL with Main() Both implement the RoleEntryPoint
scaling work in Windows Azure Web role receives message Web role enqueues work Worker role polls queue Worker role sends notifications (2) (4) Worker Role Web Role MPNS (3) (1)
multitenancy you can have more than one application running in your role instance
Content Delivery Network CDN CDN CDN CDN CDN CDN
Traffic Manager
Communications
communications two communication models Phone-initiated Cloud-initiated
Phone-Initiated Communication Options HTTP-based, request/response framework choices (WCF, OData, WebRequest, etc.) wire format choices (SOAP, JSON, POX, etc.)
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
subscribing to Push Notifications phone opens a channel phone sends URL to cloud cloud pushes notifications via URL Microsoft Push Notification service notifies phone MPNS Web Role (3) (1) (2) (4)
what makes this easier?
Windows Azure Toolkit for Windows Phone 7 (v1.2.3) http://watoolkitwp7.codeplex.com/
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/
demo 36 / WADT / azure / notification service 04 Windows Azure Toolkit for WP7
thank you 37 thank youwww.anytao.com
38

Más contenido relacionado

Similar a 13 wp7 working with azure

Windows Azure through the eyes of an it pro
Windows Azure through the eyes of an it proWindows Azure through the eyes of an it pro
Windows Azure through the eyes of an it pro
Mike Martin
 
Cloud Computing With Windows Azure
Cloud Computing With Windows AzureCloud Computing With Windows Azure
Cloud Computing With Windows Azure
ChadAmberg
 
Data Driven WPF and Silverlight Applications
Data Driven WPF and Silverlight ApplicationsData Driven WPF and Silverlight Applications
Data Driven WPF and Silverlight Applications
Dave Allen
 
SharePoint in the Extranet Joel Oleson
SharePoint in the Extranet Joel OlesonSharePoint in the Extranet Joel Oleson
SharePoint in the Extranet Joel Oleson
webhostingguy
 

Similar a 13 wp7 working with azure (20)

Windows Azure for .NET Developers
Windows Azure for .NET DevelopersWindows Azure for .NET Developers
Windows Azure for .NET Developers
 
Azure Introduction
Azure IntroductionAzure Introduction
Azure Introduction
 
Azure Microsoft
Azure MicrosoftAzure Microsoft
Azure Microsoft
 
Azure and Umbraco CMS
Azure and Umbraco CMSAzure and Umbraco CMS
Azure and Umbraco CMS
 
Understanding the Windows Azure Platform - Dec 2010
Understanding the Windows Azure Platform - Dec 2010Understanding the Windows Azure Platform - Dec 2010
Understanding the Windows Azure Platform - Dec 2010
 
Windows Azure through the eyes of an it pro
Windows Azure through the eyes of an it proWindows Azure through the eyes of an it pro
Windows Azure through the eyes of an it pro
 
WP7 HUB_Launch event Windows Azure
WP7 HUB_Launch event Windows AzureWP7 HUB_Launch event Windows Azure
WP7 HUB_Launch event Windows Azure
 
Techdays 2011 - Things I will remember
Techdays 2011 - Things I will rememberTechdays 2011 - Things I will remember
Techdays 2011 - Things I will remember
 
Cloud Computing With Windows Azure
Cloud Computing With Windows AzureCloud Computing With Windows Azure
Cloud Computing With Windows Azure
 
Migrating Apps To Azure
Migrating Apps To AzureMigrating Apps To Azure
Migrating Apps To Azure
 
Web services, WCF services and Multi Threading with Windows Forms
Web services, WCF services and Multi Threading with Windows FormsWeb services, WCF services and Multi Threading with Windows Forms
Web services, WCF services and Multi Threading with Windows Forms
 
Azure Platform
Azure Platform Azure Platform
Azure Platform
 
Oracle advanced
Oracle advancedOracle advanced
Oracle advanced
 
Azure Mobile Services for Cross Platform Mobile Apps
Azure Mobile Services for Cross Platform Mobile AppsAzure Mobile Services for Cross Platform Mobile Apps
Azure Mobile Services for Cross Platform Mobile Apps
 
A Lap Around Azure
A Lap Around AzureA Lap Around Azure
A Lap Around Azure
 
Microsoft Partner Roadshow - To the Cloud
Microsoft Partner Roadshow  - To the CloudMicrosoft Partner Roadshow  - To the Cloud
Microsoft Partner Roadshow - To the Cloud
 
Microsoft Azure
Microsoft AzureMicrosoft Azure
Microsoft Azure
 
Data Driven WPF and Silverlight Applications
Data Driven WPF and Silverlight ApplicationsData Driven WPF and Silverlight Applications
Data Driven WPF and Silverlight Applications
 
Syn framework 4.0 and sql server
Syn framework 4.0 and sql serverSyn framework 4.0 and sql server
Syn framework 4.0 and sql server
 
SharePoint in the Extranet Joel Oleson
SharePoint in the Extranet Joel OlesonSharePoint in the Extranet Joel Oleson
SharePoint in the Extranet Joel Oleson
 

Más de Tao Wang

08 wp7 push notification
08 wp7   push notification08 wp7   push notification
08 wp7 push notification
Tao Wang
 
08 wp7 push notification
08 wp7   push notification08 wp7   push notification
08 wp7 push notification
Tao Wang
 
07 wp7 application lifecycle
07 wp7   application lifecycle07 wp7   application lifecycle
07 wp7 application lifecycle
Tao Wang
 
06 wp7 isolation storage
06 wp7   isolation storage06 wp7   isolation storage
06 wp7 isolation storage
Tao Wang
 
03 wp7 application bar
03 wp7   application bar03 wp7   application bar
03 wp7 application bar
Tao Wang
 
03 wp7 application bar
03 wp7   application bar03 wp7   application bar
03 wp7 application bar
Tao Wang
 
05 wp7 launchers and choosers
05 wp7   launchers and choosers05 wp7   launchers and choosers
05 wp7 launchers and choosers
Tao Wang
 
04 wp7 pivot and panorama
04 wp7   pivot and panorama04 wp7   pivot and panorama
04 wp7 pivot and panorama
Tao Wang
 
02 wp7 building silverlight applications
02 wp7   building silverlight applications02 wp7   building silverlight applications
02 wp7 building silverlight applications
Tao Wang
 
01 wp7 introduction
01 wp7   introduction01 wp7   introduction
01 wp7 introduction
Tao Wang
 
What is silverlight?
What is silverlight?What is silverlight?
What is silverlight?
Tao Wang
 

Más de Tao Wang (17)

团队高效沟通的秘密
团队高效沟通的秘密团队高效沟通的秘密
团队高效沟通的秘密
 
高效团队的秘密
高效团队的秘密高效团队的秘密
高效团队的秘密
 
Worktile 更好用的企业协作平台
Worktile   更好用的企业协作平台Worktile   更好用的企业协作平台
Worktile 更好用的企业协作平台
 
Hello, Worktile Pro
Hello, Worktile ProHello, Worktile Pro
Hello, Worktile Pro
 
08 wp7 push notification
08 wp7   push notification08 wp7   push notification
08 wp7 push notification
 
08 wp7 push notification
08 wp7   push notification08 wp7   push notification
08 wp7 push notification
 
07 wp7 application lifecycle
07 wp7   application lifecycle07 wp7   application lifecycle
07 wp7 application lifecycle
 
06 wp7 isolation storage
06 wp7   isolation storage06 wp7   isolation storage
06 wp7 isolation storage
 
03 wp7 application bar
03 wp7   application bar03 wp7   application bar
03 wp7 application bar
 
03 wp7 application bar
03 wp7   application bar03 wp7   application bar
03 wp7 application bar
 
05 wp7 launchers and choosers
05 wp7   launchers and choosers05 wp7   launchers and choosers
05 wp7 launchers and choosers
 
04 wp7 pivot and panorama
04 wp7   pivot and panorama04 wp7   pivot and panorama
04 wp7 pivot and panorama
 
02 wp7 building silverlight applications
02 wp7   building silverlight applications02 wp7   building silverlight applications
02 wp7 building silverlight applications
 
01 wp7 introduction
01 wp7   introduction01 wp7   introduction
01 wp7 introduction
 
Azure 迁移之道
Azure 迁移之道Azure 迁移之道
Azure 迁移之道
 
Facebook and its development
Facebook and its developmentFacebook and its development
Facebook and its development
 
What is silverlight?
What is silverlight?What is silverlight?
What is silverlight?
 

Último

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Último (20)

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

13 wp7 working with azure

  • 1. Windows Phone 7 Li Jingnan / Wang Tao 2011-7-15 1
  • 3. about anytao| Ethos <ethos:Member id = “Wang Tao” msn = anytao@live.com weibo = http://weibo.com/anytao runat = “Senior System Architect” /> Jason | Ethos <ethos:Member id = “Li Jingnan” msn = zengnami@hotmail.com weibo= http://weibo.com/jn1981 runat = “SE” />
  • 5. 13 Working with Azure Wang Tao / 2011-07-15 Senior System Architect
  • 6. session outline Overview Windows Azure toolkit for WP7 overview why phone + cloud? why WP7 + Azure? 5min Azure identity storage service communications
  • 7. 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
  • 8. 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
  • 10. Windows Azure Platform Scalable compute and storage Automated service management Familiar tools, technologies, languages Relational storage for the cloud Consistent development model Automated database management Connect existing apps to the cloud Connect through network boundaries Easily control authorization to apps
  • 11. WAZ Storage Any pictures? Windows Azure SAS Process Image User Authentication Store Image in Windows Azure Blob Storage Process Image Send Notification Username & Password Access Token Access Token Shared Access Signature Original Text Translated Text Translated Text Translated Text Microsoft Push Notification Service Bing Translator
  • 12. what are the pieces we just saw? identity storage services communications
  • 14. 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)
  • 16. 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
  • 17. SQL Azure: OData Service client sends data to web role web role stores data in SQL Azure (2) Web Role (1)
  • 18. Windows Azure Blobs: public blobs client sends data to web role web role stores data in blobs client fetches public blobs directly (2) Web Role (3) (1)
  • 19. Windows Azure Blobs: SAS client gets Shared Access Signature from web role client stores data in blobs client fetches public blobs directly Web Role (2) (3) (1)
  • 20. Windows Azure Tables: Proxy Calls client sends data to web role web role stores data in blobs (2) Web Role (1)
  • 21. do not store your secrets on the phone
  • 23. Web Role versus Worker Role Web Role has IIS Worker Role does not DLL with Main() Both implement the RoleEntryPoint
  • 24. scaling work in Windows Azure Web role receives message Web role enqueues work Worker role polls queue Worker role sends notifications (2) (4) Worker Role Web Role MPNS (3) (1)
  • 25. multitenancy you can have more than one application running in your role instance
  • 26. Content Delivery Network CDN CDN CDN CDN CDN CDN
  • 29. communications two communication models Phone-initiated Cloud-initiated
  • 30. Phone-Initiated Communication Options HTTP-based, request/response framework choices (WCF, OData, WebRequest, etc.) wire format choices (SOAP, JSON, POX, etc.)
  • 31. 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
  • 32. subscribing to Push Notifications phone opens a channel phone sends URL to cloud cloud pushes notifications via URL Microsoft Push Notification service notifies phone MPNS Web Role (3) (1) (2) (4)
  • 33. what makes this easier?
  • 34. Windows Azure Toolkit for Windows Phone 7 (v1.2.3) http://watoolkitwp7.codeplex.com/
  • 35. 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/
  • 36. demo 36 / WADT / azure / notification service 04 Windows Azure Toolkit for WP7
  • 37. thank you 37 thank youwww.anytao.com
  • 38. 38

Notas del editor

  1. Windows Azure包含三部分:Windows Azure:计算和简单存储功能SQL Azure:关系数据库AppFabric:部署在云端的应用方便和本地应用交互和访问控制。未来还将包括分布式缓存等功能。