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

The dangers and gotchas of using scoped services in OptionsBuilder
In this post I look at the problems you can hit with strongly-typed settings when you inject Scoped services into OptionsBuilder, and how to avoid them…

Working with stacked branches in Git is easier with --update-refs
In this post I discuss how to use the new Git rebasing feature, --update-refs, and how it makes working with stacked branches/PRs easier.…
in Git
Fighting with nullable reference types in Razor Pages
In this post I discuss C#'s nullable reference types in the context of Razor Pages, why they don't play nicely together and how to improve the experience.…

Adding validation to strongly typed configuration objects using FluentValidation
In this post I describe how to to verify your strongly typed configuration objects are correctly bound to your config at start up using FluentValidation…

Adding validation to strongly typed configuration objects in .NET 6
In this post I describe how to to verify your strongly typed configuration objects are correctly bound to your configuration at app startup…

ASP.NET Core in Action, version 3, is now available
ASP.NET Core in Action, version 3, is available now from Manning's Early Access Program, and is fully updated to .NET 7.…

