Dependency Injection in C and NET with the Autofac Library

An in-depth course on Dependency Injection and Inversion of Control
Dependency Injection in C and NET with the Autofac Library
File Size :
2.09 GB
Total length :
5h 21m



Dmitri Nesteruk


Last update

Last updated 1/2020



Dependency Injection in C and NET with the Autofac Library

What you’ll 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

Dependency Injection in C and NET with the Autofac Library


Confident knowledge of C# and .NET
Good knowledge of object-oriented programming principles
Confident use of an IDE (e.g., Visual Studio)


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 forComponents and Services (terminology used by the Autofac container)Component Registration including assembly and module scanningControlling Scope and LifetimeConfiguration including XML/JSON and ModulesPlenty of advanced topics for the connoisseur


Lecture 1 Introduction

Section 1: Dependency Injection and Inversion of Control

Lecture 2 Dependency Injection and Inversion of Control

Lecture 3 An Overview of DI Frameworks

Lecture 4 Getting Started with Autofac

Section 2: Registration Concepts

Lecture 5 Overview

Lecture 6 Scenario (Without DI)

Lecture 7 Registering Types (Reflection Components)

Lecture 8 Default Registrations

Lecture 9 Choice of Constructor

Lecture 10 Registering Instances (Instance Components)

Lecture 11 Lambda Expression Components

Lecture 12 Open Generic Components

Lecture 13 Summary

Section 3: Advanced Registration Concepts

Lecture 14 Overview

Lecture 15 Passing Parameters to Register()

Lecture 16 Delegate Factories

Lecture 17 Objects on Demand

Lecture 18 Property and Method Injection

Lecture 19 Scanning for Types

Lecture 20 Scanning for Modules

Lecture 21 Summary

Section 4: Implicit Relationship Types

Lecture 22 Overview

Lecture 23 Delayed Instantiation

Lecture 24 Controlled Instantiation

Lecture 25 Dynamic Instantiation

Lecture 26 Parameterized Instantiation

Lecture 27 Enumeration

Lecture 28 Metadata Interrogation

Lecture 29 Keyed Service Lookup

Lecture 30 Container Independence

Lecture 31 Summary

Section 5: Controlling Scope and Lifetime

Lecture 32 Overview

Lecture 33 Instance Scope

Lecture 34 Captive Dependencies

Lecture 35 Disposal

Lecture 36 Lifetime Events

Lecture 37 Running Code at Startup

Lecture 38 Summary

Section 6: Configuration

Lecture 39 Overview

Lecture 40 Why Modules?

Lecture 41 Using Modules

Lecture 42 JSON/XML Configuration with Microsoft Configuration

Lecture 43 Component Options

Lecture 44 Configuration of Modules

Lecture 45 Summary

Section 7: Advanced Topics

Lecture 46 Overview

Lecture 47 Registration Sources

Lecture 48 Adapters

Lecture 49 Decorators

Lecture 50 Circular Dependencies

Lecture 51 Attribute Based Metadata

Lecture 52 Aggregate Services

Lecture 53 Type Interceptors

Lecture 54 Summary

Section 8: End of Course

Lecture 55 ASP.NET MVC Integration

Lecture 56 Course Summary

Lecture 57 Bonus Lecture: Other Courses at a Discount

Beginner and Experienced .NET/C# Developers,Anyone interested in modern approaches to Dependency Injection

Course Information:

Udemy | English | 5h 21m | 2.09 GB
Created by: Dmitri Nesteruk

You Can See More Courses in the Developer >> Greetings from

New Courses

Scroll to Top