Delen via


MvcNewtonsoftJsonOptions.OutputFormatterMemoryBufferThreshold Property

Definition

Gets the maximum size to buffer in memory when SuppressOutputFormatterBuffering is not set.

NewtonsoftJsonOutputFormatter buffers the output stream by default, buffering up to a certain amount in memory, before buffering to disk. This option configures the size in bytes that MVC will buffer in memory, before switching to disk.

public int OutputFormatterMemoryBufferThreshold { get; set; }
member this.OutputFormatterMemoryBufferThreshold : int with get, set
Public Property OutputFormatterMemoryBufferThreshold As Integer

Property Value

Defaults to 30Kb.

Applies to