O'Reilly logo

Building Mobile Applications Using Kendo UI Mobile and ASP.NET Web API by Ragini Kumbhat Bhandari, Nishanth Nair

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Parameter binding

Parameter binding is all about converting contents in an HTTP request to .NET objects so that values can be provided to action method parameters. Without parameter binding support, developers will have to write lots of error-prone and tedious code in action methods to retrieve parameter values from raw HTTP requests.

Input parameters are typically embedded in an HTTP request in URI as query strings, or in the body of the request. Web API uses a technique called Model Binding to read parameter values from the query string, and uses Formatters to read from the request body.

Model binding

If you are familiar with ASP.NET MVC, then you'll find that it's the same Model Binding concept being used in Web API for reading values from ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required