Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Beginners Guide to Dependency Injection for C# Developers
Rating: 4.3 out of 5(556 ratings)
18,765 students

Beginners Guide to Dependency Injection for C# Developers

Learn the basics of Dependency Injection techniques.
Created byEngineer Spock
Last updated 7/2020
English

What you'll learn

  • Apply DIP
  • Understand the Concept of DI and how to apply it in practice

Course content

2 sections20 lectures1h 9m total length
  • About the Course0:22
  • Join .NET Community of Students0:02
  • Outline1:35
  • Definition of DIP3:30
  • Dependencies4:49
  • Volatile and Stable Dependencies2:53
  • Definitions of IoC and DI3:18
  • DIP Violation Demo2:47
  • Refactoring to a Better Design Applying DI8:31
  • Dependency Injection Techniques7:09
  • Architectural Implications5:24

    Explore how inverting dependencies creates boundaries and plugins around domain logic. See onion/hexagonal and ports-and-adapters architectures and how main sets up dependencies.

  • Common Smells of DIP Violation2:37
  • Conclusion2:03

Requirements

  • Solid experience in C#

Description

Teaching Approach

No fluff, no ranting, no beating the air. I esteem your time. The course material is succinct, yet comprehensive. All the important concepts are covered. Particularly important topics are covered in-depth. For absolute beginners, I offer my help on Skype absolutely free, if requested.

Take this course, and you will be satisfied.

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 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.

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

Who this course is for:

  • Any C# developer who wants to learn about Dependency Injection