title: How to set maxcontentlength property in appsetting.json in .net core 2.0?
body: <p>need to set maximum request length in appsetting file.
  In web.config we use,</p>
  
  <pre><code>&lt;configuration&gt;
  &lt;system.web&gt;
      &lt;httpRuntime maxRequestLength="1048576" /&gt;
  &lt;/system.web&gt;
  </code></pre>
  
  <p></p>