Dependency Inversion Principle in C# with Examples | SOLID DIP
Dependency Inversion Principle in C# with Examples In this video, I am going to discuss the Dependency Inversion Principle in C# with Examples. The Letter D in SOLID stands for Dependency Inversion Principle which is also known as DIP. As part of this video, we are going to discuss the following pointers. What is the Dependency Inversion Principle in C#? Example without using Dependency Inversion Principle in C#. Problems if not following the Dependency Inversion Principle. Example using Dependency Inversion Principle in C#. Advantages of using Dependency Inversion Principle. What is the Dependency Inversion Principle in C#? The Dependency Inversion Principle (DIP) states that high-level modules/classes should not depend on low-level modules/classes. Both should depend upon abstractions. Secondly, abstractions should not depend upon details. Details should depend upon abstractions. The most important point that you need to keep in mind while developing real-time applications is, always to try to keep the High-level module and Low-level module as loosely coupled as possible. The reason is, when a class knows about the design and implementation of another class, it raises the risk that if we do any changes to one class will break the other class as well. So we should keep these high-level and low-level modules/classes loosely coupled as much as possible. To do that, what we need to do is, we need to make both of them dependent on abstractions instead of knowing each other. 0:00 Introduction to SOLID Design Principles 0:15 What you will learn from this SOLID Design Principles Video Series 1:17 This SOLID Design Principles Video Series is for whom? 1:50 Why do we need SOLID Design Principles? 3:55 Advantages of using SOLID Design Principles 6:23 What is the main reason behind most of the unsuccessful applications? 7:18 How to overcome the unsuccessful application Development problem? 8:30 What do you mean by SOLID Design Principles? 10:00 What next? Text Version of this Video: https://dotnettutorials.net/lesson/dependency-inversion-principle/ Single Responsibility Principle in C#: https://www.youtube.com/watch?v=o1oREIHHQAQ Open-Closed Principle in C#: https://www.youtube.com/watch?v=wl-EhFqPwxs Liskov Substitution Principle in C#: https://www.youtube.com/watch?v=zmFgc5OeF9Q Interface Segregation Principle in C#: https://www.youtube.com/watch?v=Ru8SLFr-1jg Friend, if you do have any questions or suggestions regarding this Interface Segregation Principle in C# with Examples video, then please comment to us. In the next video, first I will clear your doubts and questions, then only proceed for the next video. I am going to read all the comments and will try to reply to you all. If you like this video, then please subscribe to our channel for more videos, and don't forget to press the Bell Icons. #DependencyInversionPrinciple #DependencyInversionPrincipleInCsharp #DependencyInversionPrincipleInCsharpWithExamples #CsharpDependencyInversionPrincipleInCsharp #CsharpDependencyInversionPrincipleInCsharpExamples #DIP
Download
0 formatsNo download links available.