Software Architecture: Introduction to Dependency Injection in C# - Tutorial for Beginners

Опубликовано: 28 Октябрь 2024
на канале: Elias Fofanov (Engineer Spock)
448
14

Build a solid foundation in software architecture applying Dependency Injection

In many of my courses I use techniques of Dependency Injection and each time students write me private messages saying that they don't understand what it is and thus they don't understand what's going on in the course I teach. This is very unfortunate from the learning perspectives.

Watch the full course here: https://bit.ly/2ncw0U3

Dependency Injection is the set of techniques that allow to supply dependencies to objects. Actually, if you have ever passed dependencies via constructors, then you applied the so-called constructor injection. Dependency Injection (DI) is simple and difficult at the same time. On one hand, DI is comprised of simple techniques and on the other hand, when we need to bring DI to the next level, we need to make things more complicated using the so-called DI or IoC (Inversion of Control) Containers.

If you still don't understand what am I talking about, just believe me, you absolutely need to know about Dependency Injection. This course will tremendously improve your understanding of how software architectures emerge. So, this course is "must watch" for anyone who still doesn't understand what is DI and IoC-Containers.

Content and Overview

This course is aimed at all kind of developers. 

The course covers:
Introduction to Inversion of Control: Dependency Inversion Principle (DIP), Inversion of Control (IoC), Dependency Injection (DI),
Dependencies and their types, Pure DI and IoC-Containers, Service Locator
The Architectural Implications of Dependency Injection