Monday, 12 February 2018

DI (Dependency Injection) and IOC (Inversion of control)



1. DI (Dependency Injection) or IOC (Inversion of control) basically used to manage dependency in our application.

2. DI and IOC, used for creating dependency and inject whenever it is required.

3. This is very helpful when we are going to make thing tightly coupled to loosely coupled.

4. There are many IOC containers available but Unity, Ninject and Autofac are the three most common and popular containers are used in .Net



For more:

No comments:

Post a Comment