MvcNewtonsoftJsonOptions.InputFormatterMemoryBufferThreshold Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.