-
Notifications
You must be signed in to change notification settings - Fork 529
Ioc container
Bianca Ghiurutan edited this page Feb 7, 2018
·
4 revisions
To understand what an IoC (Inversion of Control) Container is, we first need to understand what Dependency Injection is.
Dependency Injection is a design pattern used for making decoupled software modules (classes, generally speaking). DI pattern implements Dependency Inversion Principle, which is the D in SOLID.
IoC (Inversion of Control) Container (a.k.a. DI Container) is a framework for implementing automatic dependency injection. It manages object creating and its lifetime and also injects dependencies to the class.
In conclusion, an IoC Container implements the DI pattern for us, omitting the need to manually create our own code for decoupling our classes.
Licensed under Apache 2 License
Contents
- Home
- Why Use Ninject
- Getting Started
- Dependency Injection By Hand
- Dependency Injection With Ninject
- Injection Patterns
- Multi Injection
- Object Scopes
- Modules and the Kernel
- Providers, Factory Methods and the Activation Context
- The Activation Process
- How Injection Works
- Contextual Binding
- Conventions-Based Binding