Module 3 · Dependency Injection and Configuration · Lesson 5 of 18
Inside the DI Container: Lifetimes, Scopes, Disposal and Captive Dependencies
This lesson comes with Full Access
Its text, video and cheat sheet open with Full Access.
No more free lessons in this course.
Practice
Practice test: ASP.NET Core Dependency Injection Practice: Lifetimes and Scopes5 questions · 1 mark each, no negative markingFull Access
Take the testChecked before publishing: C# examples run on .NET 10, links opened, reviewed while it was written and read in full. How lessons are checked
Updated 28 Nov 2026 ·