Tag: dotnet-8
36 posts · Page 4 of 4
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
Learn how to use dotnet workload clean in .NET 8 to remove leftover workload packs after SDK or Visual Studio updates.
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 – JSON serialize property names using snake case and kebab case
Learn how to use the new snake_case and kebab-case JSON naming policies introduced in .NET 8 with System.Text.Json.
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…