ASP.NET Core in Action, Second Edition supports .NET 5.0. Buy the book in MEAP now, and get the chapters as they're written. You even get a free copy of the first edition of ASP.NET Core in Action!
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 my last post, I described how you can use Scrutor to add assembly scanning to the ASP.NET Core built-in DI container, without using a third-party library…
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…
This post looks at the GetService() and GetRequiredService() methods of the ASP.NET Core DI container, the difference between them and which you should use…
Stay up to the date with the latest posts!