This project is read-only.

Custom property name binding

Topics: ASP.NET Web API
Apr 12, 2013 at 12:47 PM

When application/json or application/xml post to method I can use DataContract for custom property name binding:
public string Method([FromBody]Model request)

public class Model
    public string CustomName { get; set; }
How I can use DataContract or something else for application/x-www-form-urlencoded? And what about GET and QueryString?