你是否使用WCF 3.5 或者WCF REST Starter Kit开发过Restful的服务?这些技术在.NET 4里头的名称叫做WCF WebHttp Services。Msdn的相关文档在这里:http://msdn.microsoft.com/en-us/library/bb412169(VS.100).aspx, 如果你只使用WCF构建过Soap的Web service,对于掌握这一新技术的更好的技术资源是.NET Endpoint上的一个序列文章:Introducing WCF WebHttp Services in .NET 4。
- Getting Started with WCF WebHttp Services in .NET 4
- Clients and the Automatic Help Page in WCF WebHttp Services
- Updating State in WCF WebHttp Services
- Automatic and Explicit Format Selection in WCF WebHttp Services
- Error Handling in WCF WebHttp Services with WebFaultException
- Using Routes to Compose WCF WebHttp Services
- Integrating ASP.NET Output Caching with WCF WebHttp Services
- Returning Custom Formats from WCF WebHttp Services
- Creating Views in WCF WebHttp Services with T4
- Conditional GET and ETag Support in WCF WebHttp Services
- Optimistic Concurrency Support in WCF WebHttp Services
- Guidance on Link Generation in WCF WebHttp Services
已经完成了10篇,还有2篇未完成,我会持续关注,更新。也打算学习后按照自己的语言来叙述,这里不想翻译是因为翻译要讲究信雅达,我还没有这样的水平。