NewtonsoftJsonMvcBuilderExtensions.AddNewtonsoftJson Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
AddNewtonsoftJson(IMvcBuilder) |
Konfiguriert Newtonsoft.Json-spezifische Features wie Eingabe- und Ausgabeformatierer. |
AddNewtonsoftJson(IMvcBuilder, Action<MvcNewtonsoftJsonOptions>) |
Konfiguriert Newtonsoft.Json-spezifische Features wie Eingabe- und Ausgabeformatierer. |
AddNewtonsoftJson(IMvcBuilder)
Konfiguriert Newtonsoft.Json-spezifische Features wie Eingabe- und Ausgabeformatierer.
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
Parameter
- builder
- IMvcBuilder
Die IMvcBuilder.
Gibt zurück
Die IMvcBuilder.
Gilt für:
AddNewtonsoftJson(IMvcBuilder, Action<MvcNewtonsoftJsonOptions>)
Konfiguriert Newtonsoft.Json-spezifische Features wie Eingabe- und Ausgabeformatierer.
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
Parameter
- builder
- IMvcBuilder
Die IMvcBuilder.
- setupAction
- Action<MvcNewtonsoftJsonOptions>
Rückruf zum Konfigurieren MvcNewtonsoftJsonOptionsvon .
Gibt zurück
Die IMvcBuilder.
Gilt für:
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für