WEBAPI 设置上传文件大小

2021-02-07 13:15

阅读:345

标签: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

单位是 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>

WEBAPI 设置上传文件大小

标签:targe   run   security   color   ref   size   limit   load   bapi   

原文地址:https://www.cnblogs.com/dawenyang/p/11386682.html


评论


亲,登录后才可以留言!