Web API Serialization, Model Binding, and Validation

Watch the first few minutes on us! If you'd like to watch the entire video and hundreds more like it, download code samples, access offline videos and skills assessments, and use the discussion forums, log in or purchase a subscription.


Tony Sneed


Media types, also called MIME types, specify how the body of an HTTP message is formatted and determine how the body is serialized and deserialized. Web API has built-in support for XML, JSON, BSON, and form-url-encoded data. In this session, Tony demonstrates how to add support for additional media types by writing media formatters. He also shows how to control parameter binding by creating custom model binders, and how to perform model validation using data annotations and action filters.

Table of Contents

{{toc.Position}} {{toc.Text}}

Related Links

  • {{link.LinkText}} (requires a paid subscription)


This course is part of the following series: