Josef Ottosson

Freelancing Developer ยท Microsoft MVP

Subscribe via RSS
© Josef Ottosson 2026

Josef Ottosson

114 posts
c-sharp

C# - Tips and Tricks 02 - Named tuples

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

4 years ago August 29th, 2022 1 min read
dotnet

C# - Tips and Tricks 01 - Covariant return types

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

4 years ago August 27th, 2022 2 min read
My take on the Result class in C#
c-sharp

My take on the Result class in C#

Don't use exceptions for flow control, use a custom Result class instead!

4 years ago June 16th, 2022 7 min read
Using records when implementing the builder pattern in C#
c-sharp

Using records when implementing the builder pattern in C#

Here I'm showing some alternative ways of implementing the builder pattern by using regular classes, records and the new init keyword

4 years ago June 16th, 2022 5 min read
asp.net core

Model bind multiple sources to a single class in ASP.NET Core

How to model bind multiple sources to a single class

4 years ago April 28th, 2022 2 min read
Subscribe via RSS
© Josef Ottosson 2026