天天看點

【ASP.NET Web API教程】6 格式化與模型綁定6 Formats and Model Binding 6 格式化與模型綁定

本文引自:http://www.asp.net/web-api/overview/formats-and-model-binding

By Mike Wasson|July 20, 2012

作者:Mike Wasson |日期:2012-7-12

In this chapter, you'll learn:

本章将學習:

How ASP.NET Web API binds HTTP messages to domain models, and how to work with media formats in Web API.

ASP.NET Web API如何将消息綁定到模型,以及如何在Web API中使用媒體格式化器。

本教程示範如何在ASP.NET Web API中支援額外的媒體格式

JSON and XML Serialization

JSON與XML序列化Describes the built-on support for JSON and XML serialization.

描述對JSON與XML序列化的内建支援

Content Negotiation

内容協商Describes how ASP.NET Web API implements HTTP content negotiation.

描述ASP.NET Web API如何實作HTTP内容協商

Model Validation in ASP.NET Web API

ASP.NET Web API中的模型驗證