Josef Ottosson

Freelancing Developer · Microsoft MVP

Subscribe via RSS
© Josef Ottosson 2023
nuget

Multi-targeting your nuget packages

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

7 hours 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.

2 months ago July 18th, 2023 6 min read
dotnet

EF Core - Add a test to ensure that you don't forget to add new migrations

Add a test that reminds you to create migrations (if you've forgotten).

2 months ago July 14th, 2023 2 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 months ago June 5th, 2023 6 min read
jos.enumeration

JOS.Enumeration - System.Text.Json support

Custom JsonConverter that only writes the integer value of our Enumeration class. It also supports deserialization by only supplying the Enumeration value.

3 months ago May 29th, 2023 3 min read
Subscribe via RSS
© Josef Ottosson 2023