bestcourses is supported by learners. When you buy through links on our website, we may earn an affiliate commission. Learn more
Software Architecture: Dependency Injection for C# Devs
Learn Dependency Injection techniques along with an IoC-framework (DI-Container). Grow Architecture applying DI.
Created by Engineer Spock, offered on Udemy
To make sure that we score courses properly, we pay a lot of attention to the reviews students leave on courses and how many students are taking a course in the first place. This course has a total of 5680 students which left 365 reviews at an average rating of 4.25, which is average.
We analyze course length to see if courses cover all important aspects of a topic, taking into account how long the course is compared to the category average. This course has a length of 5 hours 18 minutes, which is pretty short. This might not be a bad thing, but we've found that longer courses are often more detailed & comprehensive. The average course length for this entire category is 4 hours 58 minutes.
This course currently has a bestcourses score of 7.0/10, which makes it an average course. Overall, there are probably better courses available for this topic on our platform.
Build a solid foundation in software architecture applying Dependency Injection with IoC-Containers
In many of my courses I use techniques of Dependency Injection and each time students write me private messages saying that they don't 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.
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. These are the frameworks which perform dependency injection automatically. You just need to set one up in the application root (an extremely important notion which you'll learn about in the course) and after that, it will resolve all the dependencies it knows about in the runtime.
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. It provides solid theoretical base reinforced by practical material.
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
DI-related Anti-Patterns & Refactorings:
Control Freak, Hidden Dependencies, Temporal Coupling,
Constructor Over-Injection and how to avoid it,
Ambient Context, Facade Service, Property Injection vs Bastard Injection, Cyclic Dependencies
Refactoring Example of an existing code base applying Dependency Injection
How to reap the fruits of DI
Overview, Unity, Late Binding with Unity, Aspect-Oriented Programming (AOP), Interception vs Pure DI vs AOP Tools,
Setting up a bootstrapper with Unity, Autofac and Castle.Windsor
Introduction to Unit Testing
No fluff, no ranting, no beating the air. I respect your time. The course material is succinct, yet comprehensive. All the important concepts are covered. Particularly important topics are covered in-depth.
Take this course, and you will be satisfied.
What you will learn
- Deeply understand the concepts of Dependency Injection and Inversion of Control
- Apply Dependency Inversion Principle (DIP) in practice
- Understand the concept of DI-Containers (IoC-Containers)
- Build a trivial IoC-Container on your own
- Apply existing IoC-Containers (frameworks)
- Refactor your code by applying DI coming up with significantly improved Architecture
- Write unit tests (this course includes introduction to Unit Testing)
- Apply AOP (aspect-oriented programming) techniques
- Some experience in C#