Dependency Inversion Principle, Dependency Injection and Inversion of Control (DIP, IoC and DI) View Article Information Posted Date: 12. April 2014 Author: Anil Sharma Categories: Design Patterns, OOPS, Dependency Injection Keywords: Software Design Principle, Software Design Pattern, Dependency Inversion Principle, Dependency Injection, Inversion of Control So, there are a lot of confusion in developers mind regarding Dependency Inversion Principle, Dependency Injection and Inversion of Control, that’s why I tried to explain as par my experience. We need to understand a bit of Software Design Principle & Software Design Pattern. Dependency Inversion Principle (DIP) is a Software design principle and Inversion of Control (IoC) is a Software design pattern. Let's see what is Software design principle and pattern. [Continue Reading]
Understanding Dependency Injection Pattern in C-Sharp View Article Information Posted Date: 2. April 2014 Author: Anil Sharma Categories: Design Patterns, OOPS, Dependency Injection Keywords: Dependency Injection, Dependency Injection Pattern, Dependency Injection Tutorial, Type of Dependency Injection Pattern We have discussed Dependency Injection (DI) as a separate article; here we only try to know the core concept of Dependency Injection (DI). A type of IoC where we move the creation and binding of dependency outside of the class that depends on it. In normal object are created inside of the dependent class and bounded inside the dependent class. In Dependency Injection (DI) it is done from outside of the dependent class. There are three type of Dependency Injection (DI). [Continue Reading]