Skip to content

Conversation

@mitchelsellers
Copy link
Contributor

Summary

As noted in the issue, the value that is specified here is a value in KB, however, the documentation contained mixed references to both kilobytes and bytes.

I updated this to reflect kilobytes properly in all locations, including the snippets and actual documentation

Fixes #12083

- Fixes dotnet#12083

As noted in the issue, the value that is specified here is a value in KB, however, the documentation contained mixed references to both kilobytes and bytes.

I updated this to reflect properly kilobytes in all locations.
@mitchelsellers mitchelsellers requested a review from a team as a code owner November 28, 2025 15:13
Copilot AI review requested due to automatic review settings November 28, 2025 15:13
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Nov 28, 2025
Copilot finished reviewing on behalf of mitchelsellers November 28, 2025 15:15
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes documentation inconsistencies for the RequestLengthDiskThreshold property by standardizing all references to use "kilobytes" instead of the previously mixed "bytes" and "kilobytes" terminology.

Key changes:

  • Updated XML documentation to consistently reference kilobytes as the unit of measurement
  • Corrected code comments in both C# and Visual Basic snippet files to reflect kilobytes

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
xml/System.Web.Configuration/HttpRuntimeSection.xml Updated the <value> and <remarks> sections to consistently reference kilobytes instead of bytes
snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.HttpRuntimeSection/VB/httpruntimesection.vb Corrected comment to indicate the value is in kilobytes
snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.HttpRuntimeSection/CS/httpruntimesection.cs Corrected comment to indicate the value is in kilobytes

@david-poindexter
Copy link

This is great @mitchelsellers - thank you for submitting this PR. This has bit us for years!

Copy link
Contributor

@gewarren gewarren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gewarren gewarren merged commit e72390c into dotnet:main Dec 2, 2025
11 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-System.Web community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect Documentation for requestLengthDiskThreshold

3 participants