2079 5

CSC378 ยท 2079 ยท 5 marks

What does dependency injection and IOC container means? Explain.

What does dependency injection and IOC container means? Explain. [5]

NET Centric ComputingChapter 4: Creating ASP.NET core MVC applicationsDependency Injection and IOC containers

Dependency Injection is a design pattern used to achieve loose coupling between classes and their dependencies. Instead of a class creating its own dependencies (objects it needs), those dependencies are provided (injected) from outside the class, typically through a constructor, property, or met...