WEBAPI 设置上传文件大小
2021-02-07 13:15
标签:targe run security color ref size limit load bapi 参考资料:https://stackoverflow.com/questions/33399267/cors-error-when-uploading-larger-files https://blog.csdn.net/i2blue/article/details/83892719 WEBAPI 设置上传文件大小 标签:targe run security color ref size limit load bapi 原文地址:https://www.cnblogs.com/dawenyang/p/11386682.html单位是 kb
configuration>
system.web>
httpRuntime targetFramework="4.6.1" maxRequestLength="20480000" />
customErrors mode="Off" />
system.web>
configuration>
单位是 byte
configuration>
security>
requestFiltering >
requestLimits maxAllowedContentLength="4294967295" >requestLimits>
requestFiltering>
security>
configuration>