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.
8 ways to set the URLs for an ASP.NET Core app
In this post I describe 8 different ways to set which URLs your ASP.NET Core application listens on.…
Using the new configuration binder source generator
Exploring the .NET 8 preview - Part 1
In this post I introduce the new configuration binder source generator added in .NET 8 preview 3, explore how it works, and how to use it in your apps.…
Validating nested DataAnnotation IOptions recursively with MiniValidation
In this post…
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…
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…