Josef Ottosson

Freelancing Developer ยท Microsoft MVP

Subscribe via RSS
© Josef Ottosson 2023

jos.enumeration

A collection of 6 posts

nuget

Multi-targeting your nuget packages

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

21 days 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
jos.enumeration

JOS.Enumeration - Now using source generators

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

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

4 months ago May 29th, 2023 3 min read
jos.enumeration

JOS.Enumeration - store in database (EF Core and Dapper)

Adds support for storing JOS.Enumeration values in a database using EF Core and/or Dapper.

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