Josef Ottosson

Freelancing Developer ยท Microsoft MVP

Subscribe via RSS
© Josef Ottosson 2023
Ghost & StayPuft

tips and tricks

A collection of 3 posts

Protect yourself when deserializing - System.Text.Json
dotnet core

Protect yourself when deserializing - System.Text.Json

When dealing with deserialization of JSON, it's always a good idea to validate that it in fact deserialized correctly. But, how do you do that using System.Text.Json?

5 months ago November 10th, 2022 5 min read
c-sharp

C# - Tips and Tricks 02 - Named tuples

Use named tuples to improve the readability/usability of your code

7 months ago August 29th, 2022 1 min read
dotnet core

C# - Tips and Tricks 01 - Covariant return types

Use covariant returns to override the return types of properties and/or methods

7 months ago August 27th, 2022 2 min read
Subscribe via RSS
© Josef Ottosson 2023
Ghost & StayPuft