Guided course · Architecture and System Design
Design Patterns in C#: The .NET Interview Guide
- When to use each pattern, and when not to.
- C#/.NET 10 examples and before-and-after refactors.
- SOLID, dependency injection and key trade-offs.
- Interview questions and common mistakes.
Intermediate6 modules · 20 lessons · 6 h 21 min · 23 practice tests · 2 free
Module 1 · Foundations: Patterns, SOLID and Judgment
2 lessons · 34 minModule 2 · Creational Patterns
3 lessons · 54 min- 03Factory Method and Abstract Factory in C#: From switch Statements to Keyed Services (included with Full Access), 1 practice test18 min
- 04Builder and Prototype in C#: Fluent Builders, required and init, Records and the Shallow-Copy Trap (included with Full Access), 1 practice test17 min
- 05Singleton in Modern .NET: Lazy<T>, DI Lifetimes, Captive Dependencies and Thread Safety (included with Full Access), 2 practice tests19 min
Module 3 · Structural Patterns
4 lessons · 1 h 15 min- 06Adapter and Facade in C#: Wrapping Vendor SDKs, Callback APIs and Subsystems Behind Interfaces You Own (included with Full Access), 1 practice test20 min
- 07Decorator in C# and .NET DI: Caching, Logging and Retry Without Touching the Class, Plus DelegatingHandler (included with Full Access), 1 practice test18 min
- 08Proxy in C#: Protection, Virtual and Dynamic Proxies with DispatchProxy, and Where .NET Generates Them for You (included with Full Access), 1 practice test18 min
- 09Composite in C#: Trees of Parts and Wholes, Product Bundles, Rule Trees, and Where .NET Uses It (included with Full Access), 2 practice tests19 min
Module 4 · Behavioral Patterns: Algorithms, State and Requests
4 lessons · 1 h 13 min- 10Strategy in C#: Replacing switch Statements with Interchangeable Algorithms, DI Registries and Delegates (included with Full Access), 1 practice test17 min
- 11Template Method in C#: Fixed Algorithms With Overridable Steps, BackgroundService, and When to Prefer Composition (included with Full Access), 1 practice test17 min
- 12State Pattern in C#: Order Lifecycles, Invalid Transitions, and Transition Tables With Tuple Patterns (included with Full Access), 1 practice test18 min
- 13Command Pattern in C#: Undo and Redo, Queued Commands With Channels, Idempotency and CQRS Commands (included with Full Access), 2 practice tests21 min
Module 5 · Behavioral Patterns: Communication and Pipelines
4 lessons · 1 h 11 min- 14Observer in C#: Events, IObservable<T>, Safe Unsubscription, Handler Isolation and In-Process Domain Events (included with Full Access), 1 practice test18 min
- 15Mediator in C# and MediatR: Requests, Notifications, Pipeline Behaviors, and When a Mediator Is Overkill (included with Full Access), 1 practice test17 min
- 16Chain of Responsibility in .NET: ASP.NET Core Middleware, Short-Circuiting, Ordering and Handler Pipelines (included with Full Access), 1 practice test17 min
- 17Visitor and Pattern Matching in C#: Double Dispatch, Expression Trees, ExpressionVisitor and Switch Expressions (included with Full Access), 2 practice tests19 min
Module 6 · Judgment, Practice and Mock Interview
3 lessons · 1 h 14 min- 18When Not to Use Patterns: Anti-Patterns, Over-Engineering, and Modern C# Alternatives That Replace Them (included with Full Access), 1 practice test17 min
- 19Design Patterns Practice Set: 10 Drills on Finding, Fixing and Choosing Patterns in Real C# Code (included with Full Access), 1 practice test22 min
- 20Final Mock Interview: 25 Questions on Design Patterns, SOLID and Modern C# for .NET Interviews (included with Full Access)35 min
Practice tests
TechInterviewNotes Editorial Team ·