architecture
C# and .NET Design Patterns Articles, Tutorials & News
C# and .NET Design Patterns articles, tutorials, and news from the DotNetNews archive.
442 articles Updated Page 2 of 18
Browse additional C# and .NET Design Patterns articles from the DotNetNews archive.
C# and .NET Design Patterns articles
Page 2 of 18
Newest first
-
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
-
How to Manage Application Settings Using the Options Pattern in .NET
Medium Issue #537
Application settings are used in almost every application. Things like API URLs, connection strings, feature flags, timeout values, and…
-
FeatureFusion: an engineering lab that extracts reusable .NET building blocks
Medium Issue #537
I did not start with NuGet packages. I started with recurring problems in real applications, built a public lab to work on them, and…
-
You’re Already Doing Most of SOLID.
Medium Issue #536
SOLID might be the most-written-about topic in software. I almost skipped it in my study plan for exactly that reason.
-
AutoMapper in .NET: When You May Not Need It
Medium 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
Medium 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 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 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# Corner 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
Facile Technolab Blog 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 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 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
Medium 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 Issue #529
I started this project with a simple question:
-
Graceful Degradation: Architecting Resilient Enterprise Applications in C#
C# Corner 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.