MvcNewtonsoftJsonOptions.InputFormatterMemoryBufferThreshold Property

Definition

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

NewtonsoftJsonInputFormatter buffers the input 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:
 property int InputFormatterMemoryBufferThreshold { int get(); void set(int value); };
public int InputFormatterMemoryBufferThreshold { get; set; }
member this.InputFormatterMemoryBufferThreshold : int with get, set
Public Property InputFormatterMemoryBufferThreshold As Integer

Property Value

Defaults to 30Kb.

Applies to