Configure web.config to handle 413.1 - Request Entity Too Large

ASP.NET core

Edit web.config


<system.webServer>
  <security>
     <requestFiltering>  
        <requestLimits maxAllowedContentLength="2147483647" />
     </requestFiltering>
  </security>
  <serverRuntime uploadReadAheadSize="2147483647" >
  </serverRuntime>
</system.webServer>
and

<system.web>
  <httpRuntime maxRequestLength="2147483647"/>
</system.web>

Post a Comment

Previous Post Next Post