Advertisement

Binding an HTTP Request into CLR Objects

  • Badrinarayanan Lakshmiraghavan
Chapter

Abstract

The ASP.NET Web API framework reads each incoming HTTP request and creates the parameter objects for your action methods in the controller. This is one of the powerful features of the ASP.NET Web API framework that keeps the code in the controller classes free of the repetitive work related to HTTP infrastructure and helps you, the developer, focus on implementing the business requirements at hand. Table 5-1 shows the different types of bindings possible with ASP.NET Web API, the corresponding out-of-the-box class associated with the binding, the part of the request from which data is used for binding, the type of the parameter bound, and the extensibility options available.

Keywords

Action Method Complex Type Simple Type Request Message Model Binder 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Badrinarayanan Lakshmiraghavan 2013

Authors and Affiliations

  • Badrinarayanan Lakshmiraghavan
    • 1
  1. 1.ChennaiIndia

Personalised recommendations