本文件介绍了ASP.NET Web API的功能和用法,包括REST架构风格、HTTP方法的使用、URI的构造,以及如何使用HttpClient进行CRUD操作。还探讨了OData、调试工具、API帮助页面等功能,并提供了一些示例和最佳实践。作者是微软最有价值专家,且文中链接指向相关的技术资源和教程。
19. http://mvc.tw
整合ASP.NET MVC功能 整合WCF Web API功能
ASP.NET Routing(*) Modern HTTP Programming model
Model binding HttpClient(*)
Validation Task-based async
Filters Formatting
Link Generation Content negotiation
Testability Server-side query composition
IoC integration Create custom help pages(*)
Visual Studio Template(*) Self-host
Scaffolding(*) Tracing(*)
19
ASP.NET Web API功能有那些?