How Dependency Injection Works in C# - Implementation and Lifetimes
Offered By: Raw Coding via YouTube
Course Description
Overview
Explore the inner workings of dependency injection in C# through this comprehensive 44-minute tutorial. Gain a deep understanding of dependency injection concepts, implementation, and lifetimes. Learn how to build a custom dependency injection container and resolver with singleton and transient lifetimes. Discover the importance of knowing all possible dependencies for automatic service assembly. Follow along as the instructor demonstrates practical examples using LINQPad and provides source code on GitHub. Dive into topics such as service consumers, activator types, dependency resolution, parameter retrieval, and service lifetimes. By the end of this tutorial, master the skills to implement and utilize dependency injection effectively in your C# projects.
Syllabus
Intro
Hello Service
Service Consumer
Activator
Type
Container
Dependency Resolution
Dependency Type
Get Parameters
Get Service Type
Testing
GetService
Lifetimes
SingletonTransient
Create
Implementation
Taught by
Raw Coding
Related Courses
AngularJS: Framework FundamentalsMicrosoft via edX Архитектура Android-приложений
Moscow Institute of Physics and Technology via Coursera Client-based Web Applications development: ReactJS & Angular
Universidad Politécnica de Madrid via Miríadax Getting Started with Blazor Server
Coursera Project Network via Coursera Getting Started with Blazor WASM
Coursera Project Network via Coursera