You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following portion of this tutorial page should be updated for .NET Core Versions 3.1 and all newer versions.
In the "Configure JSON serialization options" section (#configure-json-serialization-options), the reference to NewtonSoftJson should be removed. This change is due to the addition of System.Text.Json in Version 3.1.
The following portion of this tutorial page should be updated for .NET Core Versions 3.1 and all newer versions.
In the "Configure JSON serialization options" section (#configure-json-serialization-options), the reference to NewtonSoftJson should be removed. This change is due to the addition of System.Text.Json in Version 3.1.
The following changes should be made (per https://docs.microsoft.com/en-us/dotnet/standard/serialization/system-text-json-how-to?pivots=dotnet-core-3-1#customize-individual-property-names):
[JsonProperty("Name")]and instead insert[JsonPropertyName("Name")]using Newtonsoft.Json;and instead insertusing System.Text.Json.Serialization;Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.