Josef Ottosson

Freelancing Developer ยท Microsoft MVP

Subscribe via RSS
© Josef Ottosson 2026

jos.enumeration

A collection of 8 posts

dotnet

Read only properties on Domain object using Entity Framework Core

Storing immutable domain objects directly with Entity Framework Core using value converters and private backing fields to handle read-only collections and custom types.

10 months ago August 7th, 2025 5 min read
asp.net core

JOS.Enumeration - Minimal API support

Binding enumerations in ASP.NET Core Minimal APIs using TryParse and BindAsync methods for parameter binding.

a year ago July 19th, 2025 2 min read
nuget

Multi-targeting your nuget packages

Have the cookie and eat it to - support multiple framework versions when building nuget packages.

3 years ago September 3rd, 2023 4 min read
jos.enumeration

Creating a Roslyn Analyzer to ensure that no duplicate values are added at compile time

A custom Roslyn Analyzer with compile time support for detecting duplicate enumeration items when creating enumeration classes.

3 years ago July 18th, 2023 6 min read
jos.enumeration

JOS.Enumeration - Now using source generators

By using source generators, we can speed up the retrieval of enumeration values quite a bit!

3 years ago June 5th, 2023 6 min read
Subscribe via RSS
© Josef Ottosson 2026