Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
MvcNewtonsoftJsonOptions.OutputFormatterMemoryBufferThreshold Property
Definition
- Namespace:
- Microsoft.AspNetCore.Mvc
- Assembly:
- Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll
- Package:
- Microsoft.AspNetCore.Mvc.NewtonsoftJson v10.0.0
- Package:
- Microsoft.AspNetCore.Mvc.NewtonsoftJson v11.0.0-preview.4.26230.115
- Package:
- Microsoft.AspNetCore.Mvc.NewtonsoftJson v6.0.6
- Package:
- Microsoft.AspNetCore.Mvc.NewtonsoftJson v7.0.5
- Package:
- Microsoft.AspNetCore.Mvc.NewtonsoftJson v8.0.19
- Package:
- Microsoft.AspNetCore.Mvc.NewtonsoftJson v9.0.8
- Source:
- MvcNewtonsoftJsonOptions.cs
- Source:
- MvcNewtonsoftJsonOptions.cs
- Source:
- MvcNewtonsoftJsonOptions.cs
- Source:
- MvcNewtonsoftJsonOptions.cs
- Source:
- MvcNewtonsoftJsonOptions.cs
- Source:
- MvcNewtonsoftJsonOptions.cs
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 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
Feedback
Was this page helpful?
