architecture
C# and .NET Design Patterns Articles, Tutorials & News
C# and .NET Design Patterns articles, tutorials, and news from the DotNetNews archive.
452 articles Updated Page 5 of 19
Browse additional C# and .NET Design Patterns articles from the DotNetNews archive.
C# and .NET Design Patterns articles
Page 5 of 19
Newest first
-
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 Issue #509
The lifetime bug your compiler won’t catch.
-
Feature Flags in .NET: Safe Deployments Without Risk
C# Corner 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 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 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 Issue #509
The problem with traditional .NET Architecture
-
Notifications as a vertical slice: in-app inbox, real-time push, native push, and email
Medium Issue #509
A framework is mostly horizontal layers and abstract base classes.
-
You Probably Don’t Need MediatR
Medium 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 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# Corner 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 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 Issue #507
When starting a new .NET application, one architectural question appears repeatedly:
-
ASP.NET Core Microservices Architecture Guide 2026
Facile Technolab Blog 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
Medium Issue #506
IIIF manifest version detection, normalization, deterministic output, and the IIIF.POC.VersionLab proof of concept
-
Optimising Email Notifications with Factory Design Pattern in .NET Microservices
C# Corner Issue #506
Optimize .NET microservice email notifications with Factory Pattern & XSLT for 30+ types, ensuring scalability and maintainability.
-
CommandFlow: A Pragmatic Alternative to CQRS and MediatR — Part 2
Medium Issue #505
Table of contents
-
Building Event-Driven Applications with Dapr: A Practical Guide
C# Corner Issue #499
Master event-driven apps with Dapr! Learn pub/sub, state management, and observability for scalable, resilient microservices.
-
Self-ordering modules: discovered, Kahn-ordered, and extractable
Medium Issue #497
A module declares its name and its dependencies. The framework discovers every module, sorts them with Kahn’s algorithm, and registers…
-
Dapr Workflow Engine: Building Durable Distributed Applications
C# Corner Issue #497
Dapr Workflow Engine simplifies durable distributed applications by managing state, retries, and recovery for complex business processes.
-
Event-Driven Systems in .NET, Python, and Go: A Practitioner’s Comparison
Medium Issue #497
I have built event-driven systems in all three of these ecosystems, not as a research exercise but because different jobs put different…
-
How to Implement the Outbox Pattern in Distributed Systems
C# Corner Issue #496
Ensure reliable event delivery in distributed systems with the Outbox Pattern. Achieve data consistency without complex distributed transactions.
-
See our new Azure Cosmos DB Design Patterns
Microsoft Dev Blogs Issue #495
Design patterns are where good data modeling lives or dies. In a NoSQL database like Azure Cosmos DB, the difference between a schema that scales to millions of operations per second and one that figh...
-
️ Modernizing .NET — Part 32: When Four Architectures Coexist
Medium Issue #495
A framework migration can use layered design, modular boundaries, middleware flow, and service contracts without treating them as rivals.
-
Building Event-Driven Systems with Apache Kafka and .NET
C# Corner Issue #495
Build scalable, real-time event-driven systems with Apache Kafka and .NET. Learn core concepts, implementation, and best practices for robust distributed applications.
-
Agent Skills for .NET Is Now Released
Microsoft Dev Blogs Issue #495
You can now give your .NET agents reusable packages of domain expertise - instructions, reference documents, and scripts they load only when a task needs them - through a stable, production-ready API....