在web.config配置
<system.web>
<httpRuntime executionTimeout="300" maxRequestLength="204800" useFullyQualifiedRedirectUrl="false"/>
</system.web>
<!-- 设置文件上传时的系统参数-->
<httpRuntime maxRequestLength="10240"
useFullyQualifiedRedirectUrl="true"
executionTimeout="6000"
minFreeThreads="8"
minLocalRequestFreeThreads="4"
appRequestQueueLimit="100"
/>
本文介绍了如何通过修改web.config文件中的system.web/httpRuntime元素来优化ASP.NET应用的表现,具体包括调整请求超时时间、最大请求长度及提升并发能力等。
1331

被折叠的 条评论
为什么被折叠?



