SOLID Principles for C# Developers

Every C# developer, or any developer using an object-oriented programming language, needs a good understanding of the SOLID principles. These principles guide your design toward more loosely coupled and maintainable software.

 

What you’ll learn

 

It’s easy to write software that fulfills its users’ immediate needs, but is difficult to extend and maintain. Such software becomes a burden for companies striving to remain competitive.

In this course, SOLID Principles for C# Developers, you will learn five fundamental principles of object-oriented design that will keep your software loosely coupled, testable, and maintainable.

First, you will see how to keep classes small and focused, and how to extend their behavior without having to edit their source code.
Then, you will discover the importance of properly designing interfaces and abstractions in your systems.
Finally, you will explore how to arrange dependencies in your system so different implementations can be added or plugged in as needed, allowing a truly modular design.

When you are finished with this course, you will understand how to build maintainable, extensible, and testable applications using C# and .NET.

1- Single Responsibility Principle

1
Introducing SOLID
2
Defining the Single Responsibility Principle
3
Coupling, Cohesion, and Concerns
4
Demo: RatingEngine Insurance Sample
5
Problem Analysis
6
Applying SRP to RatingEngine

2- Open / Closed Principle

1
Benefits of OCP
2
Balancing Abstraction and Concreteness
3
Typical Approaches to OCP
4
Prefer New Classes for New Behavior
5
Demo: Applying OCP to RatingEngine
6
Applying OCP to Package Design

3- Liskov Substitution Principle

1
Defining the Liskov Substitution Principle
2
The Problem with Basic IS-A Inheritance
3
Detecting LSP Violations in Your Code
4
Fixing LSP Violations
5
Applying LSP to ArdalisRating

4- Interface Segregation Principle

1
Defining the Interface Segregation Principle
2
The Problem with ISP Violations
3
Detecting ISP Violations in Your Code
4
Fixing ISP Violations
5
Demo: Applying ISP to ArdalisRating Sample

5- Dependency Inversion Principle

1
Defining the Dependency Inversion Principle
2
Properly Structuring Your Dependencies
3
Demo: Applying DIP to ArdalisRating Sample
4
Organizing and Extending Your SOLID Project
Add to Wishlist
Enroll Course

Enrolled: 0 students
Lectures: 26
Level: Beginner

Archive

Working hours

Monday 9:30 am - 6.00 pm
Tuesday 9:30 am - 6.00 pm
Wednesday 9:30 am - 6.00 pm
Thursday 9:30 am - 6.00 pm
Friday 9:30 am - 5.00 pm
Saturday Closed
Sunday Closed
SOLID Principles for C# Developers
Price:
Free