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

Appendices

A build and toolchain reference, an xUnit reference, an NSubstitute reference, an xUnit test-patterns guide, a pattern-to-force quick reference, a code-first review of programming principles, and the C# 15 / .NET 11 delta.

Appendix A

Build and toolchain reference

A one-stop reference for building and testing every example: the pinned .NET 10 SDK, the dotnet CLI, Directory.Build.props, standalone versus whole-repository builds, the scripts/ helpers, and both editors.

Read โ†’
Appendix B

xUnit reference

A reference for the xUnit v3 test framework the examples are written against.

Read โ†’
Appendix C

NSubstitute reference

A reference for NSubstitute, the mocking library the examples use, with a note on Moq for readers on existing Moq codebases.

Read โ†’
Appendix D

xUnit test patterns

The four-phase test and test-double taxonomy from Meszaros, applied to xUnit and NSubstitute.

Read โ†’
Appendix E

Pattern-to-force quick reference

A quick reference mapping every pattern, principle, and idiom covered to the forces it answers.

Read โ†’
Appendix F

Programming principles reviewed in code

A code-first review of the wider programming-principle vocabulary beyond SOLID.

Read โ†’
Appendix G

C# 15 / .NET 11 delta

What the C# 15 and .NET 11 short-term-support release changes for each affected pattern and idiom, kept additive so the examples stay on C# 14.

Read โ†’
โ† Previous part Putting It Together
Design Patterns with .NET / C#
Tutorial content: CC BY 4.0. Sample code: Apache 2.0.
Source on GitHub โ†—  ยท  File an issue โ†—