My new book ASP.NET Core in Action, Second Edition is available now! It supports .NET 5.0, and is available as an eBook or paperback. You even get a free copy of the first edition of ASP.NET Core in Action!
In this post I show how to use PostConfigure() with strongly-typed options to run configuration actions after all other Configure() actions are applied.…
In this post I look at how to configure named options that require injected services and how to configure all named options at once using ConfigureAll()…
In this post I look at the problems you can hit with strongly-typed settings when you inject Scoped services into IConfigureOptions, and how to avoid them…
In this post I show how to do service decoration with Scrutor, where services "wrap" another implementation of the service…
In this post I describe how to use the open source library Scrutor to add assembly scanning capabilities to the ASP.NET Core DI container.…
In this post I describe how to register a class that implements multiple interfaces with the ASP.NET Core DI container, and how to avoid a common bug…
Stay up to the date with the latest posts!