By default, the file size limit on uploads in ASP.NET is 4mb. Most of the time, the default 4Mb is more than enough to upload files using the POST method in webforms. But sometimes more is needed. The following example shows how.
To upload larger files through HTTP, you can use a configuration setting in your application Web config file or your machine Web config file: