title: HTTP Error 404.13 - asp.net core 2.0
body: <blockquote>
    <p>HTTP Error 404.13 - Not Found The request filtering module is
    configured to deny a request that exceeds the request content length.</p>
    
    <p>Verify the
    configuration/system.webServer/security/requestFiltering/requestLimits@maxAllowedContentLength
    setting in the applicationhost.config or web.config file.</p>
  </blockquote>
  
  <p>I've no idea to where can i config that, in asp.net core 2 there has change to use appsettings.json instead.</p>
  
  <p>Even try to do this already, but it's not work. </p>
  
  <pre><code>services.Configure&lt;FormOptions&gt;(options =&gt;
  {
      options.MultipartBodyLengthLimit = 300_000_000;
  });
  </code></pre>