2023-09-05 csharpdotnetdotnet-8 .NET 8 – Include non-public members in JSON serialization Learn how to include private, protected, and internal properties in JSON serialization in .NET 8 using the JsonInclude attribute.
2023-09-04 dotnetdotnet-8 dotnet workload clean Use the `dotnet workload clean` command to remove leftover .NET workload packs after an SDK or Visual Studio update — when to use it, what it removes, and gotchas.
2023-09-03 dotnetdotnet-8 .NET 8 – Deserialize into read-only properties Learn how to deserialize JSON into read-only properties without a setter in .NET 8 using JsonObjectCreationHandling or JsonSerializerOptions.
2023-09-02 dotnetdotnet-8 .NET 8 – Handle missing members during JSON deserialization Learn how to throw exceptions for unmapped JSON properties during deserialization in .NET 8 using JsonUnmappedMemberHandling.
2023-08-06 dotnetdotnet-8 .NET 8 JsonNamingPolicy: SnakeCaseLower and KebabCaseLower (System.Text.Json) Use the new .NET 8 `JsonNamingPolicy.SnakeCaseLower` (and SnakeCaseUpper, KebabCaseLower, KebabCaseUpper) to serialize snake_case / kebab-case JSON via System.Text.Json — no custom converter needed.
2023-06-10 dotnetdotnet-8 What’s new in .NET 8 .NET 8 was released on November 14, 2023 as an LTS (Long Term Support) version, meaning it will continue to receive support, updates, and bug fixes for at least three years from its release date. As usual, .NET 8 brings support for a new version of the C# language, namely C# 12. Check out our dedicated page…