🤖▶️ Check out the Design Patterns Overview course by Steve @ardalis Smith!Check it out »Hide

DevIQ

Inversion of Control

Inversion of Control

Inversion of Control (IoC or IOC) describes a system that follows the Hollywood Principle. That is, flow of control within the application is not controlled by the application itself, but rather by the underlying framework. Typically in such an architecture, the application is written such that it ties into the application framework by handling framework events or plugging in to framework extension points.

An IOC Container, also known as a Dependency Inversion (DI) container, is a specialized factory used to facilitate dependency injection.

See Also

Hollywood Principle

References

Inversion of Control (Wikipedia)

Comparing Major C# IOC Containers

Edit this page on GitHub

On this page

Sponsored by NimblePros
Sponsored