architecture
C# and .NET Design Patterns Articles, Tutorials & News
C# and .NET Design Patterns articles, tutorials, and news from the DotNetNews archive.
432 articles Updated
This DotNetNews topic collects C# design patterns material from the daily archive. C# and .NET Design Patterns is a recurring focus for C# and .NET developers working in the Microsoft ecosystem. The page is for people who already ship C# and need a faster way to find relevant posts.
Expect publisher tutorials, release notes, architecture write-ups, and field notes linked from DotNetNews issues. Start here is a short editorial shortlist for C# and .NET Design Patterns; the archive list is chronological and larger. Nothing here claims every article was production-tested by the editors.
Recurring subtopics in recent issues include C# design patterns, .NET design patterns, Gang of Four C#, and software patterns .NET. Secondary angles such as C# design patterns and .NET design patterns appear when the archive actually covered them. Related hubs such as SOLID Principles in C# and Clean Architecture in .NET cover adjacent problems.
Each card points at the original publisher URL and the DotNetNews issue that carried it, so you can read the article in context or jump straight to the source.
Start here
Editor picks for Design Patterns
-
See our new Azure Cosmos DB Design Patterns
Microsoft Dev Blogs Issue #495
Strong reference material for Cosmos teams that need proven modeling approaches instead of learning partitioning lessons the hard way.
-
Building a Flexible C# Rules Engine: Design Patterns and Best Practices
Medium Issue #494
Rules engines can go sideways fast; patterns and boundaries matter more than the engine itself.
-
Design Patterns in C# — Real Enterprise Examples That Actually Work in Production
Medium Issue #480
Helpful when patterns are tied to production tradeoffs instead of textbook diagrams.
-
When Design Patterns Become Rituals
Bipin Joshi .NET | Thus said a Byte • Insights on .NET and Web Development Issue #472
Design patterns become cargo cult when teams apply them without understanding the problem.
-
Mission Possible : Implementing Design Patterns in .NET
Medium Issue #469
A survey-style design patterns article that may be most useful for juniors or teams revisiting fundamentals.
-
Cracking the Code of Serverless Design: Patterns that Scale and Patterns that Fail
Visual Studio Magazine Issue #407
Chad Green explores how intentional design patterns determine whether serverless architectures deliver on their promises of scalability, resilience, and cost efficiency.
-
Mastering Delegates in C#
C# Corner Issue #297
Delegates remain a foundational C# feature, and this article shows why they still matter for extensibility and testability.
-
Avoiding Overengineering: When NOT to Use a Design Pattern in .NET
Medium Issue #272
A caution against overengineering that should resonate with anyone who has watched patterns get applied too early.
Archive
Page 1 of 18
Newest first
-
Result Pattern in C# and .NET 10 - When to Use, When to Skip
codewithmukesh Issue #558
A practical guide to the Result pattern in C# and .NET 10: real benchmarks, async services, ProblemDetails mapping, and what C# 15 unions change.
-
-
3 Advanced .NET DI Tricks and Anti-Patterns Every Developer Should Master
Medium - Satyam Pushkar Issue #556
Setting up basic Dependency Injection (DI) in .NET is straightforward — register your abstractions in Program.cs and let constructor…
-
You Don’t Need a Container to Do Dependency Injection
Medium - Rodrigo Cristiano Oliveira Issue #553
Part 5 of a series where I document what I’m studying to go from mid-level to senior .NET developer.
-
30 .NET System Design Interview Questions That Actually Get Asked in 2026
codewithmukesh Issue #553
30 scenario-based .NET system design interview questions with senior answers, red flags, and follow-ups. Caching, background jobs, real-time, scale on .NET 10.
-
Why Garbage Collection Won’t Save Your .NET App from DI Leaks
Medium - Satyam Pushkar Issue #553
In modern .NET development, we often rely on the Garbage Collector (GC) to clean up unused memory automatically. At the same time, we rely…
-
BlogWriter Architecture Part 1
YapCast – Jesse Liberty Issue #552
In a previous blog post I promised to take apart the BlogWriter architecture and implementation. I thought today I’d start with the architecture. The original design was to have 4 agents:* BlogWriter ...
-
OOP Pillars in C#: What .NET Interviews Actually Ask
Medium - Anchalmehandiratta Issue #552
Encapsulation, inheritance, polymorphism, abstraction — everyone can recite the four pillars, but interviews rarely stop at definitions…
-
Interfaces in C# explained
Round The Code - David Grace Issue #552
Learn how interfaces work in C#, covering contracts, polymorphism, multiple interfaces, default methods, access modifiers and static members.
-
23 GoF Design Patterns — Part 2: Behavioral Patterns
Medium - Pavan pitthdiya Issue #552
In [Part 1], we covered the first 12 GoF Design Patterns:
-
23 GoF Design Patterns — Part 1: Creational and Structural Patterns
Medium - Pavan pitthdiya Issue #551
If you have been working with C# or ASP.NET Core for some time, you have probably heard terms like:
-
Interfaces vs Abstract Classes in C#: What .NET Interviews Actually Ask
Medium - Anchalmehandiratta Issue #551
Interfaces are everywhere in real ASP.NET Core code — IOrderService, ILogger, IRepository — and this topic is also where everything from…
-
Visitor Pattern in C#: acyclic, type-safe, no downcasts, no runtime checks with Visitor.NET
Medium Issue #548
Visitor becomes painful when a design gains type checks, downcasts, and boilerplate faster than it gains useful behavior. Those costs are…
-
Synchronous vs Asynchronous Communication in Microservices: How to Choose the Right Approach
Medium Issue #548
Choosing the right communication style between microservices is one of the most important architectural decisions you will make. Continue reading on CodeX »
-
Mastering the Decorator Pattern in ASP.NET Core applications
Medium Issue #547
Add caching, logging, or retry to a service without touching the service — wrap it. The decorator pattern in ASP.NET Core, made painless…
-
I Built a Finite-State Transducer in C# Because a Dictionary Wasn’t Enough
Medium Issue #546
There are not many situations in normal C# development where you start with
-
Advanced DI in .NET: Leveraging Keyed Services
Medium Issue #545
In many real-world .NET applications, you’ll eventually face situations where a single interface has multiple implementations. For example…
-
The Socket Is Not the Toaster
Medium Issue #544
What an interface actually is in C#, and how to know you understood it Continue reading on Coffee☕ And Code »
-
Clean Architecture in .NET: When It Helps and When It Becomes Overengineering
blog.stackademic.com Issue #544
Clean Architecture is one of those topics that almost every experienced .NET developer eventually runs into. At first, it feels like the… Continue reading on Stackademic »
-
How to Build High-Performance Distributed Systems with .NET Core — By Najeeb Ullah
Medium Issue #542
Building large-scale enterprise applications requires deep architectural knowledge and efficient coding practices. As a Top .NET Creator…
-
How Architects (Senior Devs) Choose a Database in 2026
Medium Issue #542
Choosing a database is one of the most impactful decisions you make in a project. Continue reading on CodeX »
-
Building Apps That Live Inside Someone Else’s Software
Medium Issue #542
What we learned building inside Reapit’s AppMarket
-
Guidelines for Tuning Circuit Breaker Settings Effectively
Medium Issue #541
This article explores the Circuit Breaker resilience strategy in Polly, emphasizing its use for HTTP client requests with .NET extensions…
-
On forcing all derived classes to implement a specific non-virtual method, part 1
Microsoft Dev Blogs Issue #541
You may have a base class that implements only partial functionality and relies on the derived class to do the rest. How do you make sure that the derived class does the rest? For concreteness, let's ...
-
How to Choose Code Architecture in 2026
Dev Tips Issue #538
What code architecture uses fewer AI tokens? Advantages (pros) and disadvantages (cons) of N-Layered Architecture, Clean Architecture and Vertical Slice Architecture. How to combine Clean Architecture