Skip to content
Tagged articles

DI Container

3 articles · Page 1 of 1
Feidie Network
Feidie Network
Oct 11, 2026 · Backend Development

Deep Dive into .NET Core DI Container: Lifecycles, Captive Dependency & Autofac

This article analyzes .NET Core's built-in DI container, explaining Transient, Scoped, and Singleton lifecycles with underlying mechanisms, demonstrates Captive Dependency pitfalls and three resolution strategies, compares built-in DI with Autofac's advanced features, and provides a selection decision matrix.

.NET CoreAutofacCaptive Dependency
0 likes · 23 min read
Deep Dive into .NET Core DI Container: Lifecycles, Captive Dependency & Autofac
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Sep 11, 2020 · Backend Development

Master Dependency Injection in TypeScript: Build Maintainable Code with IoC

This tutorial explains what dependencies are, why Dependency Injection (DI) and Inversion of Control (IoC) improve code maintainability, shows how to set up TypeScript with reflect‑metadata, and provides a full DI container implementation with Service and Inject decorators, complete usage examples and best‑practice notes.

DI ContainerIoCTypeScript
0 likes · 10 min read
Master Dependency Injection in TypeScript: Build Maintainable Code with IoC