.net core 上传文件大小限制 webconfig
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<location path="." inheritInChildApplications="false">
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath="dotnet" arguments=".\TAX.WebAPI.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="1073741822" /><!-- 1GB-->
</requestFiltering>
</security>
</system.webServer>
</location>
</configuration>
<!--ProjectGuid: B5091FF6-AC7A-47D5-8BF3-8604AECA5211-->
轉(zhuǎn)載于:https://www.cnblogs.com/zhang-wenbin/p/10412442.html
總結(jié)
以上是生活随笔為你收集整理的.net core 上传文件大小限制 webconfig的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 「SDOI2014」数数 解题报告
- 下一篇: 2018秋季C语言学习总结