Sponsored by Nick Chapsas—Want to learn how to build elegant REST APIs in .NET? Get 5% off Nick's latest course "From Zero to Hero: REST APIs in .NET"!
My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback.
Updates to the StronglyTypedId library - simplification, templating, and CodeFixes
Using strongly-typed entity IDs to avoid primitive obsession - Part 8
In this post I describe some recent major updates to my StronglyTypedId NuGet package, describe why I made the changes, and demonstrate how they work…
A failed experiment with interceptors in C# 12 and .NET 8
In this post I described how I tried (and failed) to add an interceptor for Enum.ToString(), due to a bug in the Roslyn compiler.…
Integration testing and NuGet packaging
Creating a source generator - Part 3
In this post I describe how to integration-test your source generator, how to pack it in a NuGet package, and how to test your NuGet package!…
Using the ReferenceAssemblies NuGet package to build .NET Framework libraries on Linux, without installing Mono
In this post I show how to build .NET projects that target the full .NET Framework on Linux with the Microsoft.NETFramework.ReferenceAssemblies NuGet package…
Building ASP.NET Core apps on both Windows and Linux using AppVeyor
In this post I show how to take an existing appveyor.yml file and update it to allow building of .NET Core apps cross-platform using Windows and Linux…
Pushing NuGet packages built in Docker by running the container
In this post I show how to create a Dockerfile for building your NuGet packages which you can then run as a container to push them to a NuGet feed.…