- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Dependency Injection in ASP.NET Core 💡 DI & Service Lifetimes Explained
In this video, we’ll break down Dependency Injection (DI) in ASP.NET Core, one of the most important design patterns for building modular, scalable, and testable applications.
👉 What you’ll learn in this video:
What is Dependency Injection (DI)?
Why DI is essential for clean architecture and unit testing
Benefits of DI: loose coupling, maintainability, and scalability
Service Lifetimes in ASP.NET Core:
Transient → new instance per request
Scoped → one instance per HTTP request
Singleton → one instance for the entire application lifetime
Real-world use cases in ASP.NET Core apps
🔗 Connect with me on social media:
📘 Facebook: https://www.facebook.com/profile.php?id=61556070852046
📸 Instagram: https://www.instagram.com/deathstrokes505/
🐦 Twitter/X: https://x.com/deathstrokes505
🌐 Website/Blog: https://logicsunboxed.blogspot.com/
Timestamp:
0:00 – Why dependency injection matters
0:52 – The villain: Tight coupling explained
1:19 – The hero: What is Dependency Injection (DI)?
2:14 – Why use DI: Clean, testable, modular code
2:19 – Service registration in ASP.NET Core
2:32 – Transient lifetime (always new)
3:21 – Scoped lifetime (per request)
4:16 – Singleton lifetime (one instance for all)
5:31 – Cheat sheet & choosing the right lifetime
6:01 – Final thoughts & key takeaways
---
👉 Don’t forget to **Like 👍, Share 🔗, and Subscribe 🔔** for more coding tutorials from LogicUnboxed!
#CSharp #DotNet #DependencyInjection #ASPdotNETCore #DesignPatterns
Видео Dependency Injection in ASP.NET Core 💡 DI & Service Lifetimes Explained канала LogicUnboxed
👉 What you’ll learn in this video:
What is Dependency Injection (DI)?
Why DI is essential for clean architecture and unit testing
Benefits of DI: loose coupling, maintainability, and scalability
Service Lifetimes in ASP.NET Core:
Transient → new instance per request
Scoped → one instance per HTTP request
Singleton → one instance for the entire application lifetime
Real-world use cases in ASP.NET Core apps
🔗 Connect with me on social media:
📘 Facebook: https://www.facebook.com/profile.php?id=61556070852046
📸 Instagram: https://www.instagram.com/deathstrokes505/
🐦 Twitter/X: https://x.com/deathstrokes505
🌐 Website/Blog: https://logicsunboxed.blogspot.com/
Timestamp:
0:00 – Why dependency injection matters
0:52 – The villain: Tight coupling explained
1:19 – The hero: What is Dependency Injection (DI)?
2:14 – Why use DI: Clean, testable, modular code
2:19 – Service registration in ASP.NET Core
2:32 – Transient lifetime (always new)
3:21 – Scoped lifetime (per request)
4:16 – Singleton lifetime (one instance for all)
5:31 – Cheat sheet & choosing the right lifetime
6:01 – Final thoughts & key takeaways
---
👉 Don’t forget to **Like 👍, Share 🔗, and Subscribe 🔔** for more coding tutorials from LogicUnboxed!
#CSharp #DotNet #DependencyInjection #ASPdotNETCore #DesignPatterns
Видео Dependency Injection in ASP.NET Core 💡 DI & Service Lifetimes Explained канала LogicUnboxed
C# C# tutorial Learn C# .NET .NET Core ASP.NET ASP.NET Core Object Oriented Programming OOP C# OOP C# Methods Programming Tutorials Software Development Coding For Beginners Coding Interview Prep Programming For Beginners Learn Programming C# Coding C# Examples C# Basics DotNet Tutorial Programming Concepts Software Engineering dependency injection asp.net core asp.net core di dependency injection c# transient vs scoped vs singleton
Комментарии отсутствуют
Информация о видео
8 сентября 2025 г. 23:30:30
00:06:08
Другие видео канала





















