architecture
C# and .NET Design Patterns Articles, Tutorials & News
C# and .NET Design Patterns articles, tutorials, and news from the DotNetNews archive.
389 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 16
Newest first
-
Building a Distributed Task Queue from Scratch in C#
medium.com Issue #529
I started this project with a simple question:
-
Graceful Degradation: Architecting Resilient Enterprise Applications in C#
c-sharpcorner.com Issue #529
Graceful degradation is an architectural pattern that detects component failures and falls back to reduced functionality—ensuring core operations remain available and business continuity is preserved.
-
Event Driven Architecture and Coupling: You’re Not as Decoupled as You Think
codeopinion.com Issue #528
So, you broke apart your monolith. You introduced a message broker. You’re using event driven architecture. Events are flying everywhere. You’re decoupled now, right? But somehow nothing feels any bet...
-
I Ship to Production Every Day. Feature Flags Are Why That’s Safe.
medium.com Issue #528
How I built a code-first feature flag system for trunk-based development — with per-environment state, client-safe filtering, expiry…
-
Decorator vs Proxy Design Pattern : What’s the Difference?
c-sharpcorner.com Issue #527
Understand the difference between Decorator and Proxy design patterns in C#, including their intent, object wrapping, access control, behavior extension, caching, authorization, logging, and practical...
-
How We Engineered ma7-MQ: Building an Ultra-Fast, Resilient Message Broker from Scratch in .NET
medium.com Issue #526
A deep dive into high-throughput asynchronous channels, Shannon entropy-based selective compression, distributed resiliency patterns, and…
-
Undo Is a Feature: Saga Compensation and the Reconciliation Backstop
medium.com Issue #525
A cancelled order has to give back stock that a transaction closed minutes ago already took, and a payment confirmation that never arrives…
-
The Lazy Engineer’s Blueprint, Part 8: The Meta Layer
medium.com Issue #525
Part 8: make the blueprint executable, with ADRs, a client generated from the spec, CI on every gate, and skills that scaffold the parts.
-
Service Discovery and Service Mesh in .NET — Part 2: Four Ways to Implement Discovery
medium.com Issue #525
Part 2 of a six-part series on service discovery and service mesh architecture for .NET engineers.
-
Monolith vs Clean Architecture: Is Your .NET Project Actually Built to Grow?
medium.com Issue #525
Why We Separate Layers in Projects: Monolith vs Clean Architecture
-
Rate Limiting in System Design: Algorithms, Use Cases, and .NET Implementation
medium.com Issue #525
Modern applications are expected to handle thousands or even millions of requests. But what happens when too many requests arrive at the…
-
Building Scalable Enterprise Architectures with the Backend for Frontend (BFF) Pattern in C#
c-sharpcorner.com Issue #524
Unlock scalable enterprise architectures with the Backend for Frontend (BFF) pattern in C#. Optimize performance, security, and client experience.
-
I keep seeing developers use Dependency Injection without really understanding what ASP.NET
nitish-kaushik.medium.com Issue #524
Stop Memorizing Dependency Injection in ASP.NET Core. Understand How It Actually Works.
-
Adding Parameters to C# Methods Without Breaking Existing Code
c-sharpcorner.com Issue #524
Learn how to add parameters to C# methods without breaking existing code using extension methods for seamless API evolution.
-
Building Resilient Long-Running .NET Workflows with Durable Execution
c-sharpcorner.com Issue #521
Build resilient long-running .NET workflows with AWS Lambda Durable Execution using checkpoints, callbacks, waits, retries, and recovery for reliable distributed processing.
-
The Lazy Engineer’s Blueprint
medium.com Issue #521
Why I stopped re-deciding the same twenty things on every .NET Web API, the four-move contract, and the map of the whole series.
-
Building Durable .NET Workflows with AWS Lambda Durable Execution
c-sharpcorner.com Issue #521
Build resilient .NET workflows on AWS Lambda with Durable Execution. Manage state, retries, and long waits directly in C# code.
-
Scratch a simple data model, find a complex one
codeblog.jonskeet.uk Issue #520
I seem to have a knack for discovering corner cases – or in many situations being a corner case. One category of this is where I find myself using a data model which appears simple to start with – and...
-
Microservices with .NET: Architecture Patterns for Enterprise Teams
medium.com Issue #519
ASP.NET Application Development Services teams building enterprise platforms in 2026 face a recurring question: when does a monolith stop…
-
What Autofac and Scrutor Are Still For
medium.com Issue #519
Every .NET release swallows another reason to install a container. Here’s what’s left for Scrutor, and what still needs Autofac.
-
-
Automated Governance and Dynamic Routing in Enterprise LangGraph RAG
c-sharpcorner.com Issue #519
Automate RAG tool registration and enforce Pydantic schemas in enterprise LangGraph with Python metaclasses for scalable, secure multi-agent AI.
-
Scaling Business Logic with Rules Engines
blog.xeynergy.com Issue #518
Moving Beyond Complex If/Else Logic with NRules and .NET Continue reading on Xeynergy Blog »
-
The REPR Pattern in Minimal APIs: One Class, One Job
medium.com Issue #518
The REPR pattern — Request, Endpoint, Response — is a lightweight architectural convention that fixes this without dragging MVC’s…
-
Understanding Builder Design Pattern in .NET
yogeshhadiya33.medium.com Issue #517
Object creation is one of the most common tasks in any application. For simple classes, a constructor is usually enough to initialize the…