Reputation: 29720
There are 2 sections in the asp.net web.config and im looking for a definitive word on what they actually represent (bits or bytes). The first:
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="?" />
</requestFiltering>
</security>
</system.webServer>
And the second:
<system.web>
<httpRuntime maxRequestLength="?" requestValidationMode="2.0" />
</system.web>
The '?''s show the values that I just dont understand if they are speaking about bits or bytes.
Any advice and supporting artciles :-) would be really helpful.
Pete
Upvotes: 3
Views: 5951
Reputation: 42003
According to MSDN:
-says kilobytes
requestLimits Element for requestFiltering [IIS 7 Settings Schema]
-says bytes
Upvotes: 8
Reputation: 8278
maxRequestLength
: The maximum request size in kilobytes. The default size is 4096 KB (4 MB).
maxAllowedContentLength
:
Specifies the maximum length of content in a request, in bytes. The default value is 30000000.
Upvotes: 1