title: How to increase maxRequestLength per Controller in WebApi
body: <p>I found the same question <a href="https://stackoverflow.com/questions/12945817/is-there-a-way-to-set-maxallowedcontentlength-maxrequestlength-per-controller-in">here</a> since 2012, but I want to launch again the question.</p>
  
  <p>Is it possible to increase the maxRequestLength per service or controller instead of changing the Web.Config?</p>
  
  <pre><code>&lt;system.web&gt;
    &lt;httpRuntime maxRequestLength="10240"/&gt;
  &lt;/system.web&gt;
  </code></pre>
  
  <p>If it can't be programmatically, can be done in the Web.Config but it can be focused only for some Controllers?</p>