NewtonsoftJsonMvcBuilderExtensions.AddNewtonsoftJson Method

Definition

Overloads

AddNewtonsoftJson(IMvcBuilder)

Configures Newtonsoft.Json specific features such as input and output formatters.

AddNewtonsoftJson(IMvcBuilder, Action<MvcNewtonsoftJsonOptions>)

Configures Newtonsoft.Json specific features such as input and output formatters.

AddNewtonsoftJson(IMvcBuilder)

Source:
NewtonsoftJsonMvcBuilderExtensions.cs
Source:
NewtonsoftJsonMvcBuilderExtensions.cs
Source:
NewtonsoftJsonMvcBuilderExtensions.cs
Source:
NewtonsoftJsonMvcBuilderExtensions.cs
Source:
NewtonsoftJsonMvcBuilderExtensions.cs
Source:
NewtonsoftJsonMvcBuilderExtensions.cs
Source:
NewtonsoftJsonMvcBuilderExtensions.cs

Configures Newtonsoft.Json specific features such as input and output formatters.

public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddNewtonsoftJson (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder);
static member AddNewtonsoftJson : Microsoft.Extensions.DependencyInjection.IMvcBuilder -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function AddNewtonsoftJson (builder As IMvcBuilder) As IMvcBuilder

Parameters

builder
IMvcBuilder

The IMvcBuilder.

Returns

The IMvcBuilder.

Applies to

AddNewtonsoftJson(IMvcBuilder, Action<MvcNewtonsoftJsonOptions>)

Source:
NewtonsoftJsonMvcBuilderExtensions.cs
Source:
NewtonsoftJsonMvcBuilderExtensions.cs
Source:
NewtonsoftJsonMvcBuilderExtensions.cs
Source:
NewtonsoftJsonMvcBuilderExtensions.cs
Source:
NewtonsoftJsonMvcBuilderExtensions.cs
Source:
NewtonsoftJsonMvcBuilderExtensions.cs
Source:
NewtonsoftJsonMvcBuilderExtensions.cs

Configures Newtonsoft.Json specific features such as input and output formatters.

public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddNewtonsoftJson (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, Action<Microsoft.AspNetCore.Mvc.MvcNewtonsoftJsonOptions> setupAction);
static member AddNewtonsoftJson : Microsoft.Extensions.DependencyInjection.IMvcBuilder * Action<Microsoft.AspNetCore.Mvc.MvcNewtonsoftJsonOptions> -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function AddNewtonsoftJson (builder As IMvcBuilder, setupAction As Action(Of MvcNewtonsoftJsonOptions)) As IMvcBuilder

Parameters

builder
IMvcBuilder

The IMvcBuilder.

setupAction
Action<MvcNewtonsoftJsonOptions>

Callback to configure MvcNewtonsoftJsonOptions.

Returns

The IMvcBuilder.

Applies to