- Loading...
Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

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.

Adding JSON converters to strongly typed IDs
Using strongly-typed entity IDs to avoid primitive obsession - Part 2
In this post I continue looking at using strongly-typed IDs to solve common bugs, and provide converters to make them easier to use with ASP.NET Core.…
in ASP.NET Core
An introduction to strongly-typed entity IDs
Using strongly-typed entity IDs to avoid primitive obsession - Part 1
In this post I show a common case where primitive GUIDs are used for entity IDs, the issues it can cause, and a possible solution using strongly-typed IDs.…
in ASP.NET Core
Using strongly-typed entity IDs to avoid primitive obsession
In this series I describe how to use middleware as an MVC filter to add request localisation to your app.…

Exploring the .NET Core MCR Docker files (updated): runtime vs aspnet vs sdk
In this post, I look at the various Docker base images available for .NET Core development on MCR, how they differ, and when you should use each of them.…

Creating my first Azure Functions v2.0 app: a WebHook and a timer
In this post I show how to create an Azure Functions app with a timer that triggers a build on Netlify, and a WebHook that clears the cache in Cloudflare.…

Creating a not-empty GUID validation attribute and a not-default validation attribute
In this post I describe an MVC validation attribute that verifies a GUID doesn't have the default Empty value. I also present a generalised version.…

