Josef Ottosson

Freelancing Developer ยท Microsoft MVP

Subscribe via RSS
© Josef Ottosson 2026

Josef Ottosson

113 posts
dotnet

Keeping your nuget packages in check

It's important to keep your NuGet dependencies up to date. In this post, I'll share some tips and tricks for managing package updates effectively.

2 years ago October 4th, 2024 4 min read
c-sharp

Use the implicit operator to reduce noise in your code

This post demonstrates how to simplify cache key handling in C# by using typed objects and the implicit conversion operator, allowing automatic string conversion without manual method calls.

2 years ago September 18th, 2024 1 min read
dotnet

UnsafeAccessor is my new best friend

How can you access a private field using both Reflection and the new UnsafeAccessor approach introduced in .NET 8, and what are the benefits in terms of performance and code reduction?

2 years ago July 11th, 2024 2 min read
dotnet

Act on a Task as soon as it's completed with Task.WhenEach

Task.WhenEach allows us to act on a collection of tasks as they finish.

2 years ago June 17th, 2024 1 min read
asp.net core

Append correlation id to all log entries in ASP.NET Core

The ASP.NET Core logging provider finally has built-in support for enriching logs. I show you how to append a correlation id to all your log entries.

2 years ago April 26th, 2024 3 min read
Subscribe via RSS
© Josef Ottosson 2026