|
Large Uploads in ASP.NET 1. UpFilesBE HTTPModule UpFilesBEModule, UpFilesBE's HTTPModule intercepts the incoming upload request before it reaches the ASP.NET. After interception the module off-loads and caches, chunk by chunk, the incoming file's data to a temp file. Finally it re-assembles the request and forwards it to ASP.NET without the files data. This overcomes ASP.NET's inefficient memory utilization and allows accurate progress monitoring. For the samples included with UpFilesBE, the installer package will automatically install the UpFilesBEModule. The UpFilesBEModule assembly is installed into the GAC and is also available in the reference dialog. The HttpModules section of the web.config file has an entry for the UpFilesBEModule. To manually install/uninstall the UpFilesBE's HTTPModule please see instructions in Installing the UpFilesBEModule.
2. ConnectionTimeout IIS will disconnect an inactive connection in a time interval determined by a value set by the Connection Timeout property. It may be necessary to increase this value to let very large uploads to complete. The default value of Connection Timeout is 120 seconds. To modify this value from IIS Management Console:
Following is the list of, an ASP.NET web application configuration, attributes that can affect the performance of large uploads.
Modifications to the machine.config file, located at [windows directory]\Microsoft.NET\Framework\[.NET Version Directory]\CONFIG , should be done to set these attributes at the machine level Modifications to the web.config file, (located within the web application), should be done to set these attributes at the application level. Following is a list of another set of an ASP.NET web application configuration attributes that can affect the performance of large uploads. These attributes are located in the processModel node of machine.config:
Modifications to the machine.config file, located at [windows directory]\Microsoft.NET\Framework\[.NET Version Directory]\CONFIG , should be done to set these attributes.
|