>提升ASP.NET的最大文件上传大小
>
修改web.config
该解决方案涉及调整ASP.NET项目中的文件。 找到web.config
的部分,并在其中找到<system.web>
标签。 <httpRuntime>
>内部的maxRequestLength
属性定义了最大的HTTP请求大小为kilobytes(kb)。<httpRuntime>
值。 将“ XXX”替换为KB中所需的限制。 例如:maxRequestLength
<code class="language-xml"><configuration> <system.web> <httpRuntime maxRequestLength="10240" /> </system.web> </configuration></code>
>
以上是如何增加 ASP.NET 中的最大上传文件大小?的详细内容。更多信息请关注PHP中文网其他相关文章!