ASP. NET control File Upload Size method (Super Simple) _ Practical Tips

Source: Internet
Author: User
The following small series for you to share an ASP . NET control File Upload Size method (super Simple), with a good reference value, I hope to learn from you to help. Follow the mini-compilation with friends who are interested in ASP .

Add the following code under the System.Web node in Web. config:

The 2nd line of maxrequestlength= "8192", where the maximum limit is 8MB, can be set by itself. Executiontimeout= "", executiontimeout preset (i.e. default) is 90 seconds


<system.web>   


The above-mentioned ASP. NET control File Upload Size method (super Simple) is the small part to share all the content of everyone, hope to give you a reference, but also hope that we support topic.alibabacloud.com.

Related recommendations:

Workaround for ASP. NET deployment to IIS FAQ _ Practical Tips

Example of implementing the Forms Authentication authentication process in ASP.

How to implement read configuration file in ASP. NET Core Class Library project

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.