๐Ÿงฉ Design Patterns with .NET / C#
Home Chapters Examples Diagrams Bibliography GitHub โ†—
  1. Home
  2. Principles
Part 3 2 chapters

Principles

SOLID in idiomatic C#, including dependency inversion where the DI container ships in the base class library.

Chapter 5

SRP, OCP, and LSP

The first three SOLID principles in idiomatic C#, taught by splitting one overloaded rate calculator.

Read โ†’
Chapter 6

ISP, DIP, and DI with the built-in container

Interface segregation and dependency inversion where the dependency injection container ships in the base class library, ready to register and resolve with no separate framework decision to make.

Read โ†’
โ† Previous part What Modern C# Changes About the Catalogue Next part โ†’ The .NET Substrate
Design Patterns with .NET / C#
Tutorial content: CC BY 4.0. Sample code: Apache 2.0.
Source on GitHub โ†—  ยท  File an issue โ†—