项目需要支持能上传最大100M大小的附件,.net平台,IIS部署。
1、从项目配置app.config或web.config 中 增加配置
<system.web>
<httpRuntime maxRequestLength="102400"/>
</system.web>
2、修改IIS中配置
依次为 选中网站->双击配置编辑器-> system.webServer/security/requestFiltering,找到requestLimits中maxAllowedContentLength,默认应该是30000000(30M),进行修改。
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。