Practical ASP.NET Web API,基于dotnetfx4.5。 Chapter 1: Building a Basic Web API Chapter 2: Debugging and Tracing Chapter 3: Media-Type Formatting CLR Objects Chapter 4: Customizing Response Chapter 5: Binding an HTTP Request into CLR Objects Chapter 6:
ASP.NET Web API is a key part of ASP.NET MVC 4 and the platform of choice for building RESTful services that can be accessed by a wide range of devices. Everything from Javascr ipt libraries to RIA plugins, RFID readers to smart phones can consume y
Web API 框架基于 ASP.NET MVC 框架开发,是一个面向 Http 协议的通信框架。跟 ASP.NET MVC 的 Json 序列化不同的是,Web API 使用了 Newtonsoft.Json 框架来进行序列化。(相对于 WCF 而言,Web API 只面向于 Http 协议设计,而且没有 WCF 那么繁琐的配置。相对于直接使用 ASP.NET MVC 来返回 Json 对象的方式而言,Web API 封装了数据的序列化、反序列化,接口、实现都更加简单。 简单地说,如果要向浏