concept ANAGEMENT in category .net

appears as: ANAGEMENT
Dependency Injection in .NET

This is an excerpt from Manning's book Dependency Injection in .NET.

With DI, we can compose applications while intercepting dependencies and controlling their lifetimes. OBJECT COMPOSITION, INTERCEPTION, and LIFETIME MANAGEMENT are three dimensions of DI. Next I’ll cover them briefly; a more detailed treatment follows in part 3 of the book.

In chapter 8, we discussed LIFETIME MANAGEMENT, including the most common conceptual lifetime styles, such as SINGLETON and TRANSIENT. Spring.NET supports a few different lifestyles and enables us to configure the lifetime of all objects. The lifestyles shown in table 12.3 are available as part of the package.