Dependency Injection in C# and .NET with the Autofac Library (Udemy.com)
An in-depth course on Dependency Injection and Inversion of Control
Created by: Dmitri Nesteruk
Last updated January 2020
What you will learn
- Understand and leverage the benefits of dependency injection
- Plan and configure dependency injection containers
- Leverage dependency injection scopes, modules and other advanced capabilities
- Integrate dependency injection with popular frameworks (e.g., ASP.NET
How it compares
Against the other 518 rated Udemy courses in Software Development on CourseDuck:
- Rating4.4 out of 5higher than 28% of them
- Reviews1,373#109 of 519 by number of reviews
- Length5.3 hoursshorter than 59% of them
- Last updatedJanuary 2020earlier than 89% of them
Course Description
This is a course covering Dependency Injection in .NET using the Autofac library. The goal of the course is to provide in-depth coverage of the concept of dependency injection and give examples of how DI/IoC is used in the modern world.
This course covers the following topics:
- The concepts of Dependency Injection and Inversion of Control and what they are for
- Components and Services (terminology used by the Autofac container)
- Component Registration including assembly and module scanning
- Controlling Scope and Lifetime
- Configuration including XML/JSON and Modules
- Plenty of advanced topics for the connoisseur
Instructor Details
- 4.4 Rating
1,373 Reviews
Dmitri Nesteruk
Dmitri is a quant, developer, book author and course author. His interests lie in software development and integration practices in the areas of computation, quantitative finance and algorithmic trading. His technological interests include C# and C++ programming as well high-performance computing using technologies such as CUDA and FPGAs. He has been a C# MVP since 2009.
More courses by Dmitri Nesteruk
Learn Parallel Programming with C# and .NET (2019)
4.6 (4,564 Reviews)
Provider: Udemy
Time: 5.3h
$14.99
More Software Development courses
MATLAB Programming Simulink: Beginner to Pro with ChatGPT (2026)
5.0 (930 Reviews)
Provider: Udemy
Time: 9.6h
$10.99
Build Web Apps with Nuxt.js 3: Master TypeScript & API [New] (2026)
4.9 (635 Reviews)
Provider: Udemy
Time: 6.7h
$19.99
Terraform 101: The Ultimate Hands-On Guide [Azure Edition] (2025)
4.8 (1,975 Reviews)
Provider: Udemy
Time: 11.9h
$94.99
Reviews
By Aleksey Ulitsky on 2/27/2026
I passed already three lections and I still didn't get a main point: Why should I refuse a very obvious method of instantiation objects and prefer to use something very unclear, which may have a lot of obstacles during a testing. I realized, that idea of the injection is very popular, but I still don't understand - why?
By Sergey Pekarchik on 10/7/2024
1. It's hard to listen to due to a lack of intonational pauses between sentences, the whole speech sounds as a single sentence (like a football match commentator speaks). 2. Every right answer in all quizzes is first ordered. (I personally don't mind about it but anyway...) 3. Well structured. After watching the whole course it will be useful as a reference to quickly find a necessary topic and review to refresh in memory.
By Rodolfo Paredes on 10/31/2023
The course is good and the knowledge of the instructor is undeniable. However, most of the time it is shown how to do something but not why it is done that way, which it is even more important. Many videos take 2-3 minutes just to prepare the scenario. It would be better if we could rapidly see the code for 30 seconds after 2 or 3 minutes of explaining what will be done and why. It would be better to have one file that included all the course contents with initial code and another folder with the final version.
By Peter Tužinský on 2/12/2021
Great intro into dependency injection in .NET. Autofac seems amazing and allows for a lot of things enterprise Java developers know from Spring but miss in .NET. You can have a lot of advanced features without going for Spring.NET with this DI container. Instructor is knowledgeable fun to listen to and has great english. Course introduces you to all you need to know about Autofac DI.
By Mark Van Den Beemt on 10/9/2020
Really good course, clear and consise. Dmitri is a very competent instructor and clearly a very accomplished developer with a vast library of knowledge and experience. His voice and slightly british accent are very pleasant to listen to, and because his lessons are very well structured, this makes his courses among the best on udemy. I'm currently following his Design Patterns in C# course, which is amazing and I can highly recommend both this and the design patterns course!
By Małgorzata Pyrek on 10/4/2019
Great course, everything is clearly explained. Could be a little bit slower, to have some time to think and understand what is going on. It is hard to listen, watch, write with author and also understand all of new content at the same time. I have to stop videos many times, coz my brain is tired :) But beside this, course is clear, deeply explained and definitely worthly those money.
By Tom Wells on 9/21/2018
This first lecture is an excellent overview of IoC containers. The presenter is clear, concise, and engaging. This course is covering advanced topics that I was struggling with. Additionally, it validated some of the implementation details I have utilized in my past projects (especially decoupling from the container itself) with respect to the AutoFac IoC container registrations. Amazing course.
By Pierre Gadea on 3/4/2018
Very good explanations of the code and dependency injection. The section introductions and end of section reviews are a great touch! I would recommend this course to anyone whether a beginner with the topic or experienced. Most courses I have seen don't do a good job of explaining this complex topic. Only recommendation to the instructor is that I would add a project to demonstrate how it could work in an actual environment.
By Sneha Agarwal on 1/29/2018
The course is indeed very hands on. The teaching is very clear. We could use some more high level explanation of what is dependency injection.
By Rolland Bryan on 4/19/2017
This is a dense topic that is comprehensively covered by this course. It is clearly and logically presented, and its structure makes revision of specific topics easily accessible. Anyone interested in dependency injection and autofac should be able to benefit from this course. Therefor, this course deserves 5 stars.
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 88 / 100









![Build Web Apps with Nuxt.js 3: Master TypeScript & API [New]](/programming/software-development/images/6457785_5adc_4.jpg?v=1789443959)

![Terraform 101: The Ultimate Hands-On Guide [Azure Edition]](/programming/software-development/images/6208847_f60a_7.jpg?v=1791193600)
