Tamanho máximo de upload asp.net

we.config
[xml]
<configuration>

<system.web>

<httpRuntime maxRequestLength="1048576"/>

</system.web>

</system.webServer>

<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="1073741824" />
</requestFiltering>
</security>

</system.webServer>

</configuration>
[/xml]
set to 1 gigabyte

maxAllowedContentLength -> bytes;
maxRequestLength -> kilobytes.

Comments are closed.