Design Patterns: Dependency Inversion Principle Explained Practically in C# (The D in SOLID)
When you are writing code, are you doing it right? That is a question that worries a lot of people, and it should probably at least be something every developer thinks through. Design patterns are best-practice concepts that we can implement into our code to make it better in some way. Think of them as guardrails that keep our code safe. In this video, we are going to look at the fifth entry in the famous SOLID principle. The D stands for Dependency Inversion Principle. This is not the same thing as Dependency Injection, but it is what powers it.
- Newsletter signup (with exclusive discounts): https://signup.iamtimcorey.com/ (your email will be kept safe and you will not be spammed).
- Source Code: https://leadmagnets.app/?Resource=DInSOLID
0:00 - Intro
1:43 - Demo code walk-through
4:40 - Dependency Inversion Principle: DI Explained
7:42 - Implementing DI: Demo code refactoring
26:15 - Benefits of DI: Changing the code
27:18 - Benefits of DI: Modular code
29:10 - Benefits of DI: Dependency injection
33:03 - Benefits of DI: Unit testing
37:32 - Summary and concluding remarks
Видео Design Patterns: Dependency Inversion Principle Explained Practically in C# (The D in SOLID) канала IAmTimCorey
- Newsletter signup (with exclusive discounts): https://signup.iamtimcorey.com/ (your email will be kept safe and you will not be spammed).
- Source Code: https://leadmagnets.app/?Resource=DInSOLID
0:00 - Intro
1:43 - Demo code walk-through
4:40 - Dependency Inversion Principle: DI Explained
7:42 - Implementing DI: Demo code refactoring
26:15 - Benefits of DI: Changing the code
27:18 - Benefits of DI: Modular code
29:10 - Benefits of DI: Dependency injection
33:03 - Benefits of DI: Unit testing
37:32 - Summary and concluding remarks
Видео Design Patterns: Dependency Inversion Principle Explained Practically in C# (The D in SOLID) канала IAmTimCorey
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
C# Dependency Injection with AutofacDesign Patterns: Single Responsibility Principle Explained Practically in C# (The S in SOLID)Dependency Injection & Inversion of ControlDependency InjectionBecoming a better developer by using the SOLID design principles by Katerina TrajchevskaDependency Inversion Principle Explained - SOLID Design PrinciplesHandling Exceptions in C# - When to catch them, where to catch them, and how to catch themHow Do I Learn Design Patterns? Which Design Patterns Should I Know?C# Async / Await - Make your app more responsive and faster with asynchronous programmingDesign Patterns: Interface Segregation Principle Explained Practically in C# (The I in SOLID)Dependency InjectionDelegates in C# - A practical demonstration, including Action and FuncMocking in C# Unit Tests - How To Test Data Access Code and MoreDependency Inversion Principle IntroductionC# Generics - What they are, why they are useful, and how to create themClean Code - Uncle Bob / Lesson 1Top 10 C# Best Practices (plus bonuses)Design Patterns: Open Closed Principle Explained Practically in C# (The O in SOLID)Design Patterns: Liskov Substitution Principle Explained Practically in C# (The L in SOLID)