title: Mvc apicontroller , how can i set unlimited length for maxJsonLength when i receive the request
body: <p>I am  new to mvc and ran into an issue wile creating a controller api where it will be able to accept files in the httpRequest. It works fine for small files, but when the size of the file exceeds 4MB, it fails with "Internal server error", the request does not even hit my controller api.</p>
  
  <p>I did see some posts where it has mentioned to use JavascripSerializer in a controller.
  (Can I set an unlimited length for maxJsonLength in web.config? 9)</p>
  
  <p>But i am not sure how to use this when accepting a request with larger files.</p>
  
  <p>Any help on this is appreciated.</p>