.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-->


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM