ASP.NET Web API model binding - different parameters names
<p>Is it possible to map parameters from request to properties with different names? I need it because I'd like to use words splitted by underscore as url parameters but in C# code I'd like to use normal convention. Example :</p>

<pre><code>?property_name=1 to property PropertyName
</code></pre>

<p>In the request I use <code>[FromUri]</code> parameter like</p>

<pre><code>public IHttpActionResult DoMethod([FromUri(Name = "")] SomeInput input)
</code></pre>

<p>Initially I thought that model binding is performed by Json serializer but probably it isn't. I tried DataMember attribute as well but these approaches do not work. </p>

<pre><code>public class SomeInput
{
    [JsonProperty("property_name")]
    [DataMember(Name = "property_name")]
    public int PropertyName { get; set; }
}
</code></pre>

<p>I read about the custom binders but I hope some more simple way must exist.
Any idea how to do this correctly and simple in ASP.NET Web API 2 with using Owin and Katana?</p>