architecture
C# and .NET Design Patterns Articles, Tutorials & News
C# and .NET Design Patterns articles, tutorials, and news from the DotNetNews archive.
363 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
devblogs.microsoft.com 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
snehasishkonger.medium.com 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.com Issue #480
Helpful when patterns are tied to production tradeoffs instead of textbook diagrams.
-
When Design Patterns Become Rituals
binaryintellect.net Issue #472
Design patterns become cargo cult when teams apply them without understanding the problem.
-
Mission Possible : Implementing Design Patterns in .NET
medium.com 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
visualstudiomagazine.com 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-sharpcorner.com 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
malshikay.medium.com Issue #272
A caution against overengineering that should resonate with anyone who has watched patterns get applied too early.
Archive
Page 1 of 15
Newest first
-
Building Idempotent ASP.NET Core APIs for Distributed Systems
c-sharpcorner.com Issue #513
Build resilient ASP.NET Core APIs for distributed systems by implementing idempotency. Prevent duplicate data with Idempotency-Key, distributed caching, and database constraints.
-
Event-Driven Architecture in .NET Using RabbitMQ
c-sharpcorner.com Issue #513
Build production-ready .NET event-driven architectures with RabbitMQ. Learn core concepts, implementation, and testing for scalable, resilient systems.
-
Temporal Coupling: What Is It and How to Deal With It
medium.com Issue #513
Identifying Temporal Coupling and Refactoring It Step-by-step
-
Demystifying the Factory Pattern in Modern C#
c-sharpcorner.com Issue #512
Master the Factory Pattern in C# to decouple object creation, enhance extensibility, and simplify testing. Avoid tight coupling with 'new'.
-
CommandFlow: A Pragmatic Alternative to CQRS and MediatR — Appendix
medium.com Issue #512
CommandFlow — Part1 CommandFlow — Part2
-
Day 6: The Bug That Changed How I Write Code
medium.com Issue #511
Today wasn’t about learning more C# keywords — it was about understanding how good software handles problems without falling apart.
-
System Design Isn’t About Memorizing Architectures — It’s About Solving Problems
medium.com Issue #511
How to think like a software engineer when designing scalable systems.
-
Mastering the Chain of Responsibility Pattern in C#: From Basics to Advanced Scenarios
medium.com Issue #511
Learn how to implement the Chain of Responsibility pattern in C# with practical examples
-
Modular Monolith First: Why It Beats Microservices on Day One
medium.com Issue #511
Every few weeks someone asks why a new product isn’t “built on microservices.” My honest answer: on day one, you don’t know where your…
-
When to Use Microservices (And When Not To)
codewithmukesh.com Issue #510
A .NET architect's decision guide to microservices: what they actually solve, when to use them, when to avoid them, and why a modular monolith usually wins first.
-
Mastering the Strategy Pattern in Modern C#
c-sharpcorner.com Issue #510
Tired of messy switch statements? Master the Strategy Pattern in C# for modular, testable, and SOLID-compliant code. Refactor your business logic!
-
A Clean Read Replica Routing Pattern for ASP.NET Core - HackerNoon
hackernoon.com Issue #510
A Clean Read Replica Routing Pattern for ASP.NET Core HackerNoon
-
Your DI Container Is Hiding a Bug Right Now ?
medium.com Issue #509
The lifetime bug your compiler won’t catch.
-
Feature Flags in .NET: Safe Deployments Without Risk
c-sharpcorner.com Issue #509
Master .NET feature flags for safe deployments. Learn to implement, manage, and remove them for risk-free rollouts and A/B testing.
-
EF Core Is Already a Repository. Stop Wrapping It in Another One.
medium.com Issue #509
Open a lot of .NET projects and you’ll find the repository pattern sitting on top of Entity Framework Core. IProductRepository, GetById…
-
Modernizing .NET — Part 33: Architecture Patterns We Used Carefully
medium.com Issue #509
Why we used event-driven design, CQRS, and Clean Architecture selectively — and avoided turning migration into a second transformation.
-
CommandFlow: A Pragmatic Alternative to CQRS and MediatR
medium.com Issue #509
The problem with traditional .NET Architecture
-
Notifications as a vertical slice: in-app inbox, real-time push, native push, and email
medium.com Issue #509
A framework is mostly horizontal layers and abstract base classes.
-
You Probably Don’t Need MediatR
medium.com Issue #508
MediatR shows up in a lot of .NET codebases by default now. Someone starts a project, adds it in the first week, and every request goes…
-
How to Build Clean Telegram Bots in .NET 8+ Using the Mediator Pattern and FSM
medium.com Issue #508
Say goodbye to massive switch-case statements and nested if-conditions in your Telegram.Bot update handler.
-
Real-World MediatR Patterns and Common Mistakes in ASP.NET Core
c-sharpcorner.com Issue #508
Master MediatR in ASP.NET Core! Learn patterns, avoid common mistakes, and build maintainable, decoupled applications.
-
Feature Flags in .NET: Ship Dark, Release on Your Terms with Microsoft.FeatureManagement
medium.com Issue #508
Every senior engineer eventually hits the same wall: a feature is code-complete, but the business isn’t ready to expose it, or wants it…
-
Modular Monolith vs Microservices: The .NET Architecture Decision Most Teams Get Wrong
medium.com Issue #507
When starting a new .NET application, one architectural question appears repeatedly:
-
ASP.NET Core Microservices Architecture Guide 2026
faciletechnolab.com Issue #506
A practical guide to ASP.NET Core microservices architecture - service decomposition, communication patterns, data isolation, and deployment on Azure.
-
Version-Aware IIIF in .NET: Reading Legacy Manifests and Writing Modern Presentation 3.0
ahmadminoo.medium.com Issue #506
IIIF manifest version detection, normalization, deterministic output, and the IIIF.POC.VersionLab proof of concept