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 11 of 19
Browse additional C# and .NET Design Patterns articles from the DotNetNews archive.
C# and .NET Design Patterns articles
Page 11 of 19
Newest first
-
Logging, EF Core, and .NET 10 upgrade reasons
DotNetNews Issue #379
A varied .NET roundup with Serilog logging, EF Core Fluent API, .NET 10 upgrade reasons, MAUI, SignalR, and Azure DevOps updates.
-
You Can’t Future-Proof Software Architecture
codeopinion.com Issue #378
“Future proof your architecture” sounds good. But the reality is you can’t future-proof Software Architecture. When you really think about it, the future is just what’s breaking assumptions. You can’t...
-
Combining the Factory and Strategy Patterns
no dogma blog Issue #378
Download full source code. I was recently talking with a friend about the factory and strategy patterns, how they could be used together. He was familiar with the factory, but not the strategy. The ...
-
Implementing Transactional Outbox Pattern in .NET Microservices — Ensuring Eventual Consistency
Medium Issue #376
In monolithic systems, database operations rely on ACID principles. A transaction either completes entirely or not at all. However, in…
-
Extremely FAST Caching Repository With Decorator Pattern in ASP.NET Core
Medium Issue #376
If You want the full source code Click :Here
-
Repository Pattern: The Right Way to Free Your Code from the Database
Medium Issue #369
When you apply the Repository Pattern correctly, the ORM you use becomes just an implementation detail.
-
Factory Pattern C#
C# Corner Issue #369
Learn the Factory Pattern in C# with a practical example! Discover how to decouple object creation, improve maintainability, and simplify your code. #csharp
-
The Hidden Impediment of the Strangler Fig Pattern
Medium Issue #369
Why Legacy Systems Fight Back (and How .NET Teams Get Trapped)
-
Solving Message Ordering from First Principles
Milan's .NET Weekly Issue #367
Per-aggregate ordering is what we really want. But queues with competing consumers make it surprisingly easy to break. This article shows how the “fix” naturally evolves into a saga.
-
Memento Pattern, Using The Command Pattern, and Domain Events in .NET
Medium Issue #362
Practical implementation of Memento, Command, and Domain Events patterns for building auditable systems with undo/redo in C# .NET
-
Records in C#: The Feature That Quietly Changed How I Write Code
Medium Issue #362
At first glance, the records look like just shorter classes.
-
I Finally Killed the “If-Else” Chain: From Spaghetti Code to a Plugin System (in Python & .NET)
faun.pub Issue #362
How the Registry Pattern saved my codebase and how to implement it in both Python and C#. Continue reading on FAUN.dev() »
-
Introducing Microservices Design Patterns in .NET (2nd Edition)
Code With Trev | Blog Issue #359
After months of writing, revising, and pressure-testing ideas against real-world systems, I’m excited to officially announce the release of the Second Edition of Microservices Design Patterns in .NET....
-
Event-Driven Architecture Without the Chaos
Medium Issue #356
When Events Simplify Systems — and When They Destroy Them
-
12 Essential Distributed System Design Patterns Every Architect Should Know
Dev Tips Issue #356
Learn the 12 most important distributed system design patterns that every software architect needs to master: API Gateway, Point To Point Async Integration, Publish/Subscribe, OutBox, CQRS, Saga, Side
-
Modeling a Domain With Domain-Driven Design From Scratch
Medium Issue #356
A Practical, Code-First Guide (DDD Mega Series — Part 1/3)
-
Extension Methods in C#: The Cleanest Way to Add Power to Your Code (2025 Guide)
Medium Issue #350
Some features in C# feel “small” until you finally understand how they shape modern .NET design.
-
How I Built a Self-Healing Service Using Retries, Circuit Breakers, and Smart Backoff
Medium Issue #350
A hands-on guide to resilience patterns with examples from a production environment. Continue reading on CodeX »
-
Top Design Pitfalls in Enterprise APIs and their Fix
Medium Issue #350
We will focus on common Design issues those look simple but actually these are bug or silent killers.
-
Aggregates in DDD: Model Rules, Not Relationships
codeopinion.com Issue #350
In a recent video I did about Domain-Driven Design Misconceptions, there was a comment that turned into a great thread that I want to highlight. Specifically, somebody left a comment about their probl...
-
EF Core 10 Makes Outer Joins Beautiful Again: Goodbye DefaultIfEmpty()
Medium Issue #350
or years, developers using Entity Framework (EF) or EF Core have faced a recurring challenge: expressing LEFT JOIN or RIGHT JOIN…
-
C# For Loop: Complete Beginner’s Guide with Examples
Medium Issue #350
C# For Loop: Complete Beginner’s Guide with Examples
-
Using Strategy Pattern with Dependency Injection in ASP.NET Core
elmah.io Blog - .NET Technical tutorials/guides and new features Issue #350
Selection logic is a prominent part of many applications. Whether you add a simple environment toggle, a UI mode decision, or apply a discount, you have to rely on user input. Sometimes, simply using ...
-
How to Fix No Service for Type Errors in .NET Dependency Injection
C# Corner Issue #349
Learn how to fix the common "No service for type" dependency injection error in .NET. This guide explains why the error occurs, how to register services correctly, common mistakes, and best ...
-