Get the App
SLTechnology News&Howtos  ›  Development  › 

How does Asp.NET control the size of file uploads

Shulou Source: shulou.com Published: 2022-06-03 14:59:06 11月14日 Update

Editor to share with you how Asp.NET controls the size of file uploads, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Add the following code under the system.web node in web.config:

MaxRequestLength= "8192" in line 2, where the maximum limit is 8MB, which can be set by yourself. ExecutionTimeout= "800s", executionTimeout preset (that is, default) is 90 seconds

The above is all the contents of the article "how Asp.NET controls the size of file uploads". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Articles size file control content maximum not much code most more knowledge nodes industry information information channels channels references learning help restrictions Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Docker Shulou Information MySQL MariaDB