Web API POST parameter is null for large JSON request
<p>I have a POST method in Web API controller that takes a class with 50 fields as parameter. I am getting the parameter value as <code>null</code> in the controller, but if I reduce the number of fields to 30 or so, I am getting the right value.</p>

<p>I have this added to Web.Config:</p>

<blockquote>
  <p>add key="aspnet:MaxJsonDeserializerMembers" value="140000"</p>
</blockquote>

<p>If I use <code>Request.Content.ReadAsStreamAsync()</code>, and use 
the <code>JsonSerializer</code> to deserialize the stream, I am getting the object with right values.</p>

<p>Is this the preferred way of reading a POST parameter?</p>