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 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
-
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.
-
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 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# Corner 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 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 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 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 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 Issue #525
Why We Separate Layers in Projects: Monolith vs Clean Architecture
-
Rate Limiting in System Design: Algorithms, Use Cases, and .NET Implementation
Medium 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# Corner Issue #524
Unlock scalable enterprise architectures with the Backend for Frontend (BFF) pattern in C#. Optimize performance, security, and client experience.