Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;

Check failure on line 1 in snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.HttpRuntimeSection/CS/httpruntimesection.cs

View workflow job for this annotation

GitHub Actions / snippets-build

D:\a\dotnet-api-docs\dotnet-api-docs\snippets\csharp\VS_Snippets_WebNet\System.Web.Configuration.HttpRuntimeSection\CS\httpruntimesection.cs(1,1): error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.
using System.Data;
using System.Configuration;
using System.Web;
Expand Down Expand Up @@ -112,7 +112,7 @@
Response.Write("RequestLengthDiskThreshold: " +
configSection.RequestLengthDiskThreshold + "<br>");

// Set the RequestLengthDiskThreshold property value to 512 bytes.
// Set the RequestLengthDiskThreshold property value to 512 kilobytes.
configSection.RequestLengthDiskThreshold = 512;
// </Snippet12>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
' <Snippet1>

Imports System.Data
Expand Down Expand Up @@ -113,7 +113,7 @@
Response.Write("RequestLengthDiskThreshold: " & _
configSection.RequestLengthDiskThreshold & "<br>")

' Set the RequestLengthDiskThreshold property value to 512 bytes.
' Set the RequestLengthDiskThreshold property value to 512 kilobytes.
configSection.RequestLengthDiskThreshold = 512
' </Snippet12>

Expand Down
4 changes: 2 additions & 2 deletions xml/System.Web.Configuration/HttpRuntimeSection.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1009,12 +1009,12 @@
</ReturnValue>
<Docs>
<summary>Gets or sets the input-stream buffering threshold.</summary>
<value>The number of bytes that indicate the input-stream buffering threshold. The default is 80 kilobytes.</value>
<value>The number of kilobytes that indicate the input-stream buffering threshold. The default is 80 kilobytes.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.Configuration.HttpRuntimeSection.RequestLengthDiskThreshold%2A> property specifies the input-stream buffering threshold limit in number of bytes. Its value should not exceed the <xref:System.Web.Configuration.HttpRuntimeSection.MaxRequestLength%2A> property value. After a request entity exceeds this threshold, it is buffered transparently onto disk.
The <xref:System.Web.Configuration.HttpRuntimeSection.RequestLengthDiskThreshold%2A> property specifies the input-stream buffering threshold limit in number of kilobytes. Its value should not exceed the <xref:System.Web.Configuration.HttpRuntimeSection.MaxRequestLength%2A> property value. After a request entity exceeds this threshold, it is buffered transparently onto disk.
Expand Down
Loading