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:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.