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 create a custom IPasswordHasher implementation that can be used in ASP.NET Core Identity to migrate from weak hashes like MD5 or SHA1.…
In this post I introduce the IOptionsMonitor interface, and show how you can use it in place of IOptionsSnapshot to create Singleton named options…
In this post I show how to use ConfigureOptions() to automatically register all the IConfigureOptions interfaces implemented by a type with the DI container…
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…
Stay up to the date with the latest posts!