1 / 32

使用 WCF 开发 REST 服务 -- 在 Windows Server AppFabric 上,在云端

DEV-LANG-300-4. 薛敏敏 项 目经理 文 凌 软件开发工程师 微软(中国)研发集团服务器及开发工具事业部. 使用 WCF 开发 REST 服务 -- 在 Windows Server AppFabric 上,在云端. 议程. 关于 HTTP 和 REST 的开场白 WCF HTTP 服务之开发部署初体验 WCF HTTP 服务之 4.0 增强版 WCF HTTP 服务之演进开始 展望 -- 在下一代 VS 中的 WCF HTTP 疑问和解答. 在 Web 上,创建服务可以像创建网页那样 …. HTTP 是 Web 的应用层.

Download Presentation

使用 WCF 开发 REST 服务 -- 在 Windows Server AppFabric 上,在云端

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. DEV-LANG-300-4 薛敏敏项目经理 文凌 软件开发工程师 微软(中国)研发集团服务器及开发工具事业部 使用WCF开发REST服务-- 在Windows Server AppFabric上,在云端

  2. 议程 • 关于HTTP和REST的开场白 • WCF HTTP 服务之开发部署初体验 • WCF HTTP 服务之4.0增强版 • WCF HTTP 服务之演进开始 • 展望 -- 在下一代VS中的WCF HTTP • 疑问和解答

  3. 在Web上,创建服务可以像创建网页那样 …

  4. HTTP是Web的应用层 参数(Uri, 媒体类型, 编码) 消息(Request, Response, Headers) 实体(Headers / Body) 方法 (Verbs) 状态码 内容协商 (Content Negotiation) 缓存 认证

  5. REST和HTTP • REST是关于: • 如何利用HTTP构建网络互联系统 • 遵循一定的原则 • 以创建: • 简单 • 可见 • 可扩展 • 高性能 • 易更改 的服务

  6. REST的原则 统一接口 无状态化 资源 URI 表述与链接

  7. REST日趋主流 Windows Azure Storage Service Microsoft Live Services 使用和创建云计算服务 WCFData Services EVERYBODY that isn’t Microsoft (Google, Twitter, Facebook)

  8. WCF服务家族 Programming Model SOAP服务 HTTP 服务 Data 服务 RIA 服务 Workflow 服务 Service Model 数据合同 服务合同 服务行为 Channel Model 格式 (Atom, JSON, XML,…) 传输 (HTTP, TCP, …) 协议 (SOAP, HTTP, Open Data Protocol,…)

  9. WCF HTTP 服务之开发部署初体验

  10. WCF HTTP 服务之开发部署初体验-- 创建服务

  11. WCF HTTP 服务之开发部署初体验-- 创建服务 用户 博文 微博服务 关注 粉丝 推荐

  12. WCF HTTP 服务之开发部署初体验-- 创建服务

  13. WCF HTTP 服务之开发部署初体验-- 创建服务

  14. WCF HTTP 服务之开发部署初体验-- 创建服务

  15. 演 示 创建、开发微博服务 微博服务部署到内部环境和云端 文凌 软件开发工程师 微软(中国)研发集团服务器及开发工具事业部

  16. WCF HTTP 服务之4.0增强版 新特性组合出击

  17. WCFHTTP服务之4.0增强版-- WCF4新特性 • 简化的配置: • 标准终结点 • ASP.NETRoute的集成 • 进一步的缓存支持: • 声明式缓存 [AspNetCacheProfile] • Conditional GET & PUT • 简化编程: • WebFaultException • 更方便服务的调用: • 帮助页 • 更灵活的格式选择: • 自动 XML/JSON 切换 • 指定格式

  18. 演 示 使用WCFHTTP新特性 文凌 软件开发工程师 微软(中国)研发集团服务器及开发工具事业部

  19. WCF HTTP服务之演进 WCF CodePlex尝鲜

  20. 我的格式我做主

  21. WCF HTTP服务之演进-- 管道 (Pipeline) Media type formatting HttpResult handling Content Negotiation Uri template parameters Model Binding Media type formatting 请求 响应

  22. HTTP成为一等公民

  23. 查我所爱随心所欲

  24. WCF HTTP服务之演进-- 组合查询

  25. 演 示 使用WCFCodePlex新功能 文凌 软件开发工程师 微软(中国)研发集团服务器及开发工具事业部

  26. 展望 -- 在下一代VS中的WCF HTTP WCF框架 I I 更好地支持HTTP

  27. 相关课程 分会场一 DEV-LANG-300-5 下一代中间件平台AppFabric纵览 分会场三 DEV-LANG-300-2 使用WF 4实现您的流程 – 在Windows Server AppFabric上,在云端 动手实验室四 DEVHOL-300-1Web服务开发管理新体验 –WCF 4 + Windows Server AppFabric 动手实验室四 DEVHOL-300-2 Windows Server AppFabric入门 动手实验室四 DEVHOL-300-3 建立您的第一个工作流应用 (Level 300)

  28. 疑问和解答

  29. WCF文档中心 http://msdn.microsoft.com/en-us/netframework/first-steps-with-wcf.aspx WCFCodePlex http://wcf.codeplex.com/ 团队博客 http://blogs.msdn.com/b/endpoint/ http://blogs.msdn.com/b/wcftoolsteamblogcn/ 参考资源

More Related