【ASP.NET Web API教程】6 格式化與模型繫結

來源:互聯網
上載者:User
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中使用媒體格式化器。

  1. Media-Type Formatters
    媒體類型格式化器
    • This tutorial shows how support additional media formats in ASP.NET Web API.
      本教程示範如何在ASP.NET Web API中支援額外的媒體格式
  2. JSON and XML Serialization
    JSON與XML序列化
    • Describes the built-on support for JSON and XML serialization.
      描述對JSON與XML序列化的內建支援
  3. Content Negotiation
    內容協商
    • Describes how ASP.NET Web API implements HTTP content negotiation.
      描述ASP.NET Web API如何?HTTP內容協商
  4. Model Validation in ASP.NET Web API
    ASP.NET Web API中的模型驗證

看完此文如果覺得有所收穫,請給個推薦

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.