Skip to content

Dependency Injection

The built-in container, service lifetimes (singleton, scoped, transient), registration patterns, constructor and primary-constructor injection, keyed services, and the mistakes that cause captive dependencies.