SlideShare a Scribd company logo
WPH-200-1




让Windows Phone应用在云端翱翔

王涛、李会军
架构师
北京若云兄弟科技有限公司
 王涛
   专注于.NET,架构师,微软MVP, 著《你必须知道
    的.NET》。
   http://weibo.com/anytao
   anytao@rybrother.com
 李会军
   架构师,语言爱好者,关注高并发、高性能互联网架构、
    并行计算、分布式存储与计算。
   http://weibo.com/terryleeme
   terry@rybrother.com
 关于Windows Azure
 关于Windows Phone
 基于推荐引擎的移劢应用
 最佳实践
 趋势必行
    数据、资源、复杂计算走向云端
    应用、桌面深入移动端
 Cloud
    提供了更大的资源池
    提供了一处服务、多处设备的可能
    按需消费
    自动管理
    可用性
 Phone
    实现了更近的访问(LBS)
    实现了随时、随地
Cloud = (数据软件 + 平台 + 基础设施) × 服务




          Phone = (随时 + 随地) × 服务


                           服务


                   以无限应对有限
   PaaS(Not IaaS or SaaS)
   可伸缩性、高可靠性、安全性
   支付系统
   更多附加服务(ASC、Traffic Manager、Caching、CDN)
   统一的工具和平台
      .NET/Silverlight/C#/VB .NET
      Visual Studio / Expression Blend
      模拟器开发
      易于迁移
                   Azure for Device, not only for Windows Phone
 Phone+Cloud


 关于Windows Phone
 基于推荐引擎的移劢应用
 最佳实践
 Phone+Cloud
 关于Windows Azure


 基于推荐引擎的移劢应用
 最佳实践
Windows Phone   7
WP7
三分天下   iPhone

       Android
 Phone+Cloud
 关于Windows Azure
 关于Windows Phone


 最佳实践
演示
海纳
www.haina123.com
   高计算量服务
   随时骤增的资源需求
   高性能
   缓存
   完全自劢化的部署和配置管理
   可伸缩性、可靠性、安全性保证
   通知服务
   成本控制
   与既有服务的整合
   多移劢端平台:Windows Phone、iOS、Android、Html5
   同一个平台、同一套工具
用户信息验证
 发送通知
 计算推荐
   身份认证
   存储
   服务和计算
   通信
   推送通知
   其他
 通信
 通信模型
   Phone-initiated
   Cloud-initiated



               Push VS Pull
               Server-Push   Client-Pull
 HTTP-based, request/response
 框架选择(WCF, OData, WebRequest, etc.)
 格式选择(SOAP, JSON, POX, etc.)
 Push Notifications
    Phone和MSPN单连接
    带宽和电池友好
    无需运维
 3种类型
    Raw – 发送消息给application
    Toast – 发送消息给user
    Tile – 更新Tile Title
Cloud Service




Windows Phone 7

                      MPNS
演示
 Windows 8
    WNS, Windows Push Notification Service
 Windows Phone
    MPNS, Microsoft Push Notification Service
 iOS
    APNS, Apple Push Notification Service
 Android
    C2DM, Cloud To Device Messaging
 身份认证
 使用既有身份服务
    LiveID、Facebook、OpenID
 ACS(Access Control Service)
 自定义身份服务
    username + password
    token
 存储
 SQL Azure    Windows Azure Table
    关系数据库       非关系结构数据
    高可用性        横向扩展
    通过服务管理      OData
               Windows Azure Blob
                 大文件
                 Restful API
               Windows Azure Queue
                 分布式队列
 客户端发送数据到Web
  Role
 Web Role将数据存储在SQL   Web
  Azure               Role
 客户端发送数据到Web
  Role
 Web Role将数据存储在   Web
  Blobs            Role
 客户端直接获取Blob数据
 服务和计算
 Web Role有IIS
 Worker Role 没有
   DLL with Main()
 都实现了RoleEntryPoint
1.   Web Role接受消息          Web    Worker
                           Role    Role
2.   Web Role将工作加入队列
                                           MPNS
3.   Worker Role从队列获取并处理
4.   Worker Role发送通知
HainaService     Portal Site
ContentService   Admin Site
                 Image Service
  Instance1~X
    instance1     InstanceX+1
CD   CD   CD   CD   CD   CD
 N    N    N    N    N    N
 Phone+Cloud
 关于Windows Azure
 关于Windows Phone
 基于推荐引擎的移劢应用
Game




   UX                 Performance
                                      Storage
        Design

                                          Network


MVVM
                        Data
                                    XNA
            Service
让开发飞一会儿。。。
(v1.3.0)
http://watoolkitwp7.codeplex.com/
 WP7, http://watwp.codeplex.com/
 iOS, https://github.com/microsoft-dpe/wa-toolkit-ios
 Android, https://github.com/microsoft-dpe/wa-toolkit-android




              Azure for Device, not only for Windows Phone
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should
 not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS,
                                                                           IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

More Related Content

Viewers also liked

10 wp7 local database
10 wp7   local database10 wp7   local database
10 wp7 local databaseTao Wang
 
13 wp7 working with azure
13 wp7   working with azure13 wp7   working with azure
13 wp7 working with azureTao Wang
 
01 windows azure platform overview
01 windows azure platform overview01 windows azure platform overview
01 windows azure platform overview
Tao Wang
 
12 wp7 marketing windows phone applications
12 wp7   marketing windows phone applications12 wp7   marketing windows phone applications
12 wp7 marketing windows phone applicationsTao Wang
 
09 wp7 multitasking
09 wp7   multitasking09 wp7   multitasking
09 wp7 multitaskingTao Wang
 
Windows Phone 7 in azure
Windows Phone 7 in azureWindows Phone 7 in azure
Windows Phone 7 in azureTao Wang
 
11 wp7 designing applicationsusingexpressionblend
11 wp7   designing applicationsusingexpressionblend11 wp7   designing applicationsusingexpressionblend
11 wp7 designing applicationsusingexpressionblendTao Wang
 

Viewers also liked (8)

10 wp7 local database
10 wp7   local database10 wp7   local database
10 wp7 local database
 
13 wp7 working with azure
13 wp7   working with azure13 wp7   working with azure
13 wp7 working with azure
 
01 windows azure platform overview
01 windows azure platform overview01 windows azure platform overview
01 windows azure platform overview
 
12 wp7 marketing windows phone applications
12 wp7   marketing windows phone applications12 wp7   marketing windows phone applications
12 wp7 marketing windows phone applications
 
09 wp7 multitasking
09 wp7   multitasking09 wp7   multitasking
09 wp7 multitasking
 
Windows Phone 7 in azure
Windows Phone 7 in azureWindows Phone 7 in azure
Windows Phone 7 in azure
 
11 wp7 designing applicationsusingexpressionblend
11 wp7   designing applicationsusingexpressionblend11 wp7   designing applicationsusingexpressionblend
11 wp7 designing applicationsusingexpressionblend
 
Windows Azure Platform Overview
Windows Azure Platform OverviewWindows Azure Platform Overview
Windows Azure Platform Overview
 

Similar to Anytao 让windows phone应用在云端翱翔

Chinese Uses of Big Data Cloud Security 漫步在雲端資安新戰場
Chinese Uses of Big Data Cloud Security 漫步在雲端資安新戰場 Chinese Uses of Big Data Cloud Security 漫步在雲端資安新戰場
Chinese Uses of Big Data Cloud Security 漫步在雲端資安新戰場
Bill Hagestad II
 
从网格计算到云计算
从网格计算到云计算从网格计算到云计算
从网格计算到云计算
Riquelme624
 
移动互联网的机遇与挑战
移动互联网的机遇与挑战移动互联网的机遇与挑战
移动互联网的机遇与挑战
Courtney Chow
 
今日如何建立一个安全的私有云
今日如何建立一个安全的私有云今日如何建立一个安全的私有云
今日如何建立一个安全的私有云
ITband
 
Sec.3 遠端安全連線解決方案-array adonis
Sec.3 遠端安全連線解決方案-array adonisSec.3 遠端安全連線解決方案-array adonis
Sec.3 遠端安全連線解決方案-array adonis
道成資訊股份有限公司
 
什么是云计算
什么是云计算什么是云计算
什么是云计算
Liyang Tang
 
Cloud client : 达尔文信息云浏览器
Cloud client : 达尔文信息云浏览器Cloud client : 达尔文信息云浏览器
Cloud client : 达尔文信息云浏览器
Ying LI
 
透明计算与云计算
透明计算与云计算透明计算与云计算
透明计算与云计算longhao
 
Challenges and opportunities computing Kuo-Yi Chen
Challenges and opportunities computing   Kuo-Yi ChenChallenges and opportunities computing   Kuo-Yi Chen
Challenges and opportunities computing Kuo-Yi Chenkuoyichen
 
0506 Windows Server 2008 終端機服務
0506 Windows Server 2008 終端機服務0506 Windows Server 2008 終端機服務
0506 Windows Server 2008 終端機服務Timothy Chen
 
云计算可信评估方法研究
云计算可信评估方法研究云计算可信评估方法研究
云计算可信评估方法研究
iamafan
 
雲端技術的新趨勢
雲端技術的新趨勢雲端技術的新趨勢
雲端技術的新趨勢
Jazz Yao-Tsung Wang
 
twMVC#05 |開發與移轉 ASP.NET MVC 4.0 應用程式到 Windows Azure Platform
twMVC#05 |開發與移轉 ASP.NET MVC 4.0 應用程式到 Windows Azure PlatformtwMVC#05 |開發與移轉 ASP.NET MVC 4.0 應用程式到 Windows Azure Platform
twMVC#05 |開發與移轉 ASP.NET MVC 4.0 應用程式到 Windows Azure Platform
twMVC
 
Huawei cloud computing
Huawei cloud computingHuawei cloud computing
Huawei cloud computing
ssuser220dc6
 
0509 Windows Serevr 2008 新世代網路應用程式
0509 Windows Serevr 2008 新世代網路應用程式0509 Windows Serevr 2008 新世代網路應用程式
0509 Windows Serevr 2008 新世代網路應用程式Timothy Chen
 
Top100summit 腾讯-周健-服务化与体系化解决大量定制小项目开发困境
Top100summit 腾讯-周健-服务化与体系化解决大量定制小项目开发困境Top100summit 腾讯-周健-服务化与体系化解决大量定制小项目开发困境
Top100summit 腾讯-周健-服务化与体系化解决大量定制小项目开发困境drewz lin
 
Cloud ready v mware 云计算解决方案
Cloud ready   v mware 云计算解决方案Cloud ready   v mware 云计算解决方案
Cloud ready v mware 云计算解决方案
ITband
 
Eucalyptus安装及实例映像制作
Eucalyptus安装及实例映像制作Eucalyptus安装及实例映像制作
Eucalyptus安装及实例映像制作liangxiao0315
 
SignalR實戰技巧 twmvc#17
SignalR實戰技巧 twmvc#17 SignalR實戰技巧 twmvc#17
SignalR實戰技巧 twmvc#17
twMVC
 

Similar to Anytao 让windows phone应用在云端翱翔 (20)

Chinese Uses of Big Data Cloud Security 漫步在雲端資安新戰場
Chinese Uses of Big Data Cloud Security 漫步在雲端資安新戰場 Chinese Uses of Big Data Cloud Security 漫步在雲端資安新戰場
Chinese Uses of Big Data Cloud Security 漫步在雲端資安新戰場
 
从网格计算到云计算
从网格计算到云计算从网格计算到云计算
从网格计算到云计算
 
移动互联网的机遇与挑战
移动互联网的机遇与挑战移动互联网的机遇与挑战
移动互联网的机遇与挑战
 
今日如何建立一个安全的私有云
今日如何建立一个安全的私有云今日如何建立一个安全的私有云
今日如何建立一个安全的私有云
 
Sec.3 遠端安全連線解決方案-array adonis
Sec.3 遠端安全連線解決方案-array adonisSec.3 遠端安全連線解決方案-array adonis
Sec.3 遠端安全連線解決方案-array adonis
 
什么是云计算
什么是云计算什么是云计算
什么是云计算
 
Cloud client : 达尔文信息云浏览器
Cloud client : 达尔文信息云浏览器Cloud client : 达尔文信息云浏览器
Cloud client : 达尔文信息云浏览器
 
透明计算与云计算
透明计算与云计算透明计算与云计算
透明计算与云计算
 
Challenges and opportunities computing Kuo-Yi Chen
Challenges and opportunities computing   Kuo-Yi ChenChallenges and opportunities computing   Kuo-Yi Chen
Challenges and opportunities computing Kuo-Yi Chen
 
0506 Windows Server 2008 終端機服務
0506 Windows Server 2008 終端機服務0506 Windows Server 2008 終端機服務
0506 Windows Server 2008 終端機服務
 
云计算可信评估方法研究
云计算可信评估方法研究云计算可信评估方法研究
云计算可信评估方法研究
 
雲端技術的新趨勢
雲端技術的新趨勢雲端技術的新趨勢
雲端技術的新趨勢
 
twMVC#05 |開發與移轉 ASP.NET MVC 4.0 應用程式到 Windows Azure Platform
twMVC#05 |開發與移轉 ASP.NET MVC 4.0 應用程式到 Windows Azure PlatformtwMVC#05 |開發與移轉 ASP.NET MVC 4.0 應用程式到 Windows Azure Platform
twMVC#05 |開發與移轉 ASP.NET MVC 4.0 應用程式到 Windows Azure Platform
 
Huawei cloud computing
Huawei cloud computingHuawei cloud computing
Huawei cloud computing
 
0509 Windows Serevr 2008 新世代網路應用程式
0509 Windows Serevr 2008 新世代網路應用程式0509 Windows Serevr 2008 新世代網路應用程式
0509 Windows Serevr 2008 新世代網路應用程式
 
Top100summit 腾讯-周健-服务化与体系化解决大量定制小项目开发困境
Top100summit 腾讯-周健-服务化与体系化解决大量定制小项目开发困境Top100summit 腾讯-周健-服务化与体系化解决大量定制小项目开发困境
Top100summit 腾讯-周健-服务化与体系化解决大量定制小项目开发困境
 
Cloud ready v mware 云计算解决方案
Cloud ready   v mware 云计算解决方案Cloud ready   v mware 云计算解决方案
Cloud ready v mware 云计算解决方案
 
Eucalyptus安装及实例映像制作
Eucalyptus安装及实例映像制作Eucalyptus安装及实例映像制作
Eucalyptus安装及实例映像制作
 
SignalR實戰技巧 twmvc#17
SignalR實戰技巧 twmvc#17 SignalR實戰技巧 twmvc#17
SignalR實戰技巧 twmvc#17
 
SWsoft_Prim@Telecom
SWsoft_Prim@TelecomSWsoft_Prim@Telecom
SWsoft_Prim@Telecom
 

More from Tao Wang

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

More from Tao Wang (16)

团队高效沟通的秘密
团队高效沟通的秘密团队高效沟通的秘密
团队高效沟通的秘密
 
高效团队的秘密
高效团队的秘密高效团队的秘密
高效团队的秘密
 
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
 

Anytao 让windows phone应用在云端翱翔

  • 1.
  • 3.  王涛  专注于.NET,架构师,微软MVP, 著《你必须知道 的.NET》。  http://weibo.com/anytao  anytao@rybrother.com  李会军  架构师,语言爱好者,关注高并发、高性能互联网架构、 并行计算、分布式存储与计算。  http://weibo.com/terryleeme  terry@rybrother.com
  • 4.
  • 5.  关于Windows Azure  关于Windows Phone  基于推荐引擎的移劢应用  最佳实践
  • 6.  趋势必行  数据、资源、复杂计算走向云端  应用、桌面深入移动端  Cloud  提供了更大的资源池  提供了一处服务、多处设备的可能  按需消费  自动管理  可用性  Phone  实现了更近的访问(LBS)  实现了随时、随地
  • 7. Cloud = (数据软件 + 平台 + 基础设施) × 服务 Phone = (随时 + 随地) × 服务 服务 以无限应对有限
  • 8. PaaS(Not IaaS or SaaS)  可伸缩性、高可靠性、安全性  支付系统  更多附加服务(ASC、Traffic Manager、Caching、CDN)  统一的工具和平台  .NET/Silverlight/C#/VB .NET  Visual Studio / Expression Blend  模拟器开发  易于迁移 Azure for Device, not only for Windows Phone
  • 9.  Phone+Cloud  关于Windows Phone  基于推荐引擎的移劢应用  最佳实践
  • 10.
  • 11.  Phone+Cloud  关于Windows Azure  基于推荐引擎的移劢应用  最佳实践
  • 13. WP7 三分天下 iPhone Android
  • 14.  Phone+Cloud  关于Windows Azure  关于Windows Phone  最佳实践
  • 16. 高计算量服务  随时骤增的资源需求  高性能  缓存  完全自劢化的部署和配置管理  可伸缩性、可靠性、安全性保证  通知服务  成本控制  与既有服务的整合  多移劢端平台:Windows Phone、iOS、Android、Html5  同一个平台、同一套工具
  • 18. 身份认证  存储  服务和计算  通信  推送通知  其他
  • 20.  通信模型  Phone-initiated  Cloud-initiated Push VS Pull Server-Push Client-Pull
  • 21.  HTTP-based, request/response  框架选择(WCF, OData, WebRequest, etc.)  格式选择(SOAP, JSON, POX, etc.)
  • 22.  Push Notifications  Phone和MSPN单连接  带宽和电池友好  无需运维  3种类型  Raw – 发送消息给application  Toast – 发送消息给user  Tile – 更新Tile Title
  • 25.  Windows 8  WNS, Windows Push Notification Service  Windows Phone  MPNS, Microsoft Push Notification Service  iOS  APNS, Apple Push Notification Service  Android  C2DM, Cloud To Device Messaging
  • 27.  使用既有身份服务  LiveID、Facebook、OpenID  ACS(Access Control Service)  自定义身份服务  username + password  token
  • 29.  SQL Azure  Windows Azure Table  关系数据库  非关系结构数据  高可用性  横向扩展  通过服务管理  OData  Windows Azure Blob  大文件  Restful API  Windows Azure Queue  分布式队列
  • 30.  客户端发送数据到Web Role  Web Role将数据存储在SQL Web Azure Role
  • 31.  客户端发送数据到Web Role  Web Role将数据存储在 Web Blobs Role  客户端直接获取Blob数据
  • 33.  Web Role有IIS  Worker Role 没有  DLL with Main()  都实现了RoleEntryPoint
  • 34. 1. Web Role接受消息 Web Worker Role Role 2. Web Role将工作加入队列 MPNS 3. Worker Role从队列获取并处理 4. Worker Role发送通知
  • 35. HainaService Portal Site ContentService Admin Site Image Service Instance1~X instance1 InstanceX+1
  • 36. CD CD CD CD CD CD N N N N N N
  • 37.
  • 38.  Phone+Cloud  关于Windows Azure  关于Windows Phone  基于推荐引擎的移劢应用
  • 39. Game UX Performance Storage Design Network MVVM Data XNA Service
  • 42.  WP7, http://watwp.codeplex.com/  iOS, https://github.com/microsoft-dpe/wa-toolkit-ios  Android, https://github.com/microsoft-dpe/wa-toolkit-android Azure for Device, not only for Windows Phone
  • 43.
  • 44.
  • 45.
  • 46. © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.