Multipart body length limit exceeded exception

后端 未结 3 1069
余生分开走
余生分开走 2020-12-08 09:21

Although having set the MaxRequestLength and maxAllowedContentLength to the maximum possible values in the web.config section, ASP.Net

3条回答
  •  粉色の甜心
    2020-12-08 10:25

    Alternatively use the attribute, so the equivalent for an action as resolved by Transcendant would be:

    [RequestFormLimits(ValueLengthLimit = int.MaxValue, MultipartBodyLengthLimit = int.MaxValue)]
    

提交回复
热议问题