In this post I discuss string.GetHashCode(), why it's randomised, and hash-attacks. I also provide a deterministic implementation you can use when it's safe…
In this post I describe how you can register multiple instances of a strongly-typed settings object in the ASP.NET Core DI container using named options.…
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!