Type-safe DI composition

added by DotNetKicks
1/10/2022 3:28:39 PM

204 Views

DI Containers aren't type-safe. What are the alternatives? In April 2020 I published an article called Unit bias against collections. My goal with the article was to point out a common cognitive bias. I just happened to use .NET's built-in DI Container as an example because I'd recently encountered a piece of documentation that exhibited the kind of bias I wanted to write about.


0 comments