IoC , design principle for weakly coupled implementation classes in object-oriented design. In simple terms, we can say that it is responsible for the life cycle of objects throughout the application. It provides management of instances of objects used in the application and aims to minimize dependency.Although the IOC may seem difficult at first due to its implementation, as it is developed, the conveniences it provides make our work easier.

This design has many advantages:

Makes it easier to write and test as we minimize dependencies.

İncreases the modularity of the application. Provides ease of transition to different platforms.

Decoupling the execution of a task from its implementation.

We can provide ioc with above designs.

Resources and tools we can use for Inversion Of Control

References:

http://www.canertosuner.com/post/ioc-container-nedir-ne-ise-yarar

https://devnot.com/2020/ioc-prensibi-nedir-ornek-proje-ile-kullanimi-ve-avantajlari/

https://www.tutorialsteacher.com/ioc/inversion-of-control

--

--