architecture
C# and .NET Design Patterns Articles, Tutorials & News
C# and .NET Design Patterns articles, tutorials, and news from the DotNetNews archive.
404 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 17
Newest first
-
AutoMapper in .NET: When You May Not Need It
medium.com Issue #535
AutoMapper can remove repetitive member-to-member assignments, but it also moves mapping behavior away from ordinary C# code. That trade…
-
Mapsicle 2.1: an MPL-2.0 object mapper, and honest numbers against AutoMapper
baryodev.medium.com Issue #535
AutoMapper is the default object mapper in .NET and has been for over a decade. Since version 15 it ships under the Reciprocal Public…
-
Polymorphic Dependency Injection in .NET: The Complete Guide
medium.com Issue #535
Registering several implementations of one interface is easy. Injecting the correct implementation into each consumer — without service…
-
Abstractions via Interfaces: Decoupling External Services from Business Logic
medium.com Issue #531
Abstraction is the bridge that allows your core application logic to interact with databases and external services without becoming…
-
Pipeline Pattern: A Simple Real-World Example
c-sharpcorner.com Issue #531
When an application needs to perform several steps for the same request, putting everything into one large method can quickly make the code hard to understand and maintain. The Pipeline Pattern is a s...
-
ASP.NET Web Forms to Blazor Migration Guide
faciletechnolab.com Issue #530
How to migrate ASP.NET Web Forms to Blazor page lifecycle mapping, control conversion, state management, authentication, and phased migration strategy.
-
ASP.NET Core Architecture Patterns for High-Growth Software Products
medium.com Issue #530
Most ASP.NET Core projects don’t fail because of bad code, they fail because of those architecture choices that made sense when the…
-
Querying and Performing Transactions Across Multiple Database Schemas in a Modular Monolith
medium.com Issue #530
Building a Modular Monolith gives you clear boundaries between modules, but it also introduces a challenge: how do you query data that… Continue reading on CodeX »
-
Let’s Design Better
levelup.gitconnected.com Issue #530
A .NET BackgroundService with Distributed Systems Principles Continue reading on Level Up Coding »
-
I Spent Two Weeks Trying to Break CommandFlow, the “Pragmatic Alternative” to CQRS and MediatR
topuzas.medium.com Issue #530
A hands-on investigation into whether CommandFlow actually solves the problems it claims to solve, with real code, real comparison numbers…
-
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.