Skip to content

Glossary: ASP.NET Core

Dependency injection

Also written: DI, dependency, injection

You register services once and ASP.NET Core hands them to any code that asks, instead of you creating them with `new`. A handler can just ask for an `IProductStore`.

Where the book teaches it

Related terms

ServiceLifetime