Chapter 9 of 10
Factory Patterns: Factory Method to Keyed DI
Factory Method, Abstract Factory, and the way you actually create polymorphic objects in .NET today - keyed DI, factory delegates, ActivatorUtilities, and the framework's own IHttpClientFactory - plus the captive-dependency trap and when the container makes a hand-written factory pointless.
Checking your accessβ¦