Preferred Language:

Listing 4.4 - Web.Config

Illustrates how you can configure an application to accept large file uploads.

Listing 4.4 - Web.config
Copy

<?xml version="1.0"?>
<configuration>
    <system.web>
        <httpRuntime
             maxRequestLength="10240"
             requestLengthDiskThreshold="100" />
    </system.web>
</configuration>