architecture
C# and .NET Design Patterns Articles, Tutorials & News
C# and .NET Design Patterns articles, tutorials, and news from the DotNetNews archive.
336 articles Updated Page 7 of 14
Browse additional C# and .NET Design Patterns articles from the DotNetNews archive.
C# and .NET Design Patterns articles
Page 7 of 14
Newest first
-
Extension Methods in C#: The Cleanest Way to Add Power to Your Code (2025 Guide)
medium.com 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.com 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.com 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.com 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.com Issue #350
C# For Loop: Complete Beginner’s Guide with Examples
-
Using Strategy Pattern with Dependency Injection in ASP.NET Core
blog.elmah.io 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-sharpcorner.com 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 ...
-
Overengineering in .NET: Why Simplicity Wins
medium.com Issue #347
When Clever Code Becomes a Liability
-
Is It a Dictionary? Is It a Queue? No! It’s a C# UniquePriorityQueue!
medium.com Issue #347
Imagine you’re building a system to buy a popular gadgets from an online marketplace. Each seller has a unique ID, and you always want to…
-
What If Your Queue Could Drop Useless Work? Meet the CoalescingQueue for C#
medium.com Issue #347
Applications often get hit with updates faster than they can process them. Whether it’s telemetry bursts, rapid UI events, or state-sync…
-
AI workflows, C# 14, EF Core
DotNetNews Issue #345
A varied .NET roundup with AI agents, C# 14 features, EF Core and Dapper, Visual Studio 2026, profiling, and code quality advice.
-
Dependency Injection in .NET — The 9 Golden Rules Nobody Taught You
medium.com Issue #344
(And why your container isn’t fixing your architecture problems)
-
The Strategy Pattern in C#: A Complete Deep Dive from First Principles to Production-Ready Code
medium.com Issue #344
Friend link :- Read full story for free!
-
How To Use The Specification Design Pattern in .NET 9
medium.com Issue #342
If you want the full source code, download it from this link: https://www.elitesolutions.shop/
-
The Hidden Complexity Behind a “Simple” Request–Response
medium.com Issue #339
If you ask most developers what a request–response model is, they’ll shrug and say:
-
Stop Writing 10 Repository Methods for One Query! — Harness the Specification Pattern in EF Core
medium.com Issue #339
What’s the story about? It’s the morning after an API launch. A simple new endpoint — “Get gatherings by creator name and include…
-
What is a Constructor?
c-sharpcorner.com Issue #339
Unlock the power of constructors in programming! Learn what they are, how they work, and their different types (default, parameterized, DI) with C# examples. Master object initialization!
-
Vertical Slice Architecture in simple terms
medium.com Issue #339
Vertical slice architecture is a different approach to structuring a solution that can significantly improve the maintainability of an…
-
Interface vs Abstract Class in C#: Real-World and Programming Examples Explained in Simple Language
c-sharpcorner.com Issue #339
Unlock the power of C#! Explore interfaces vs. abstract classes with real-world and programming examples. Learn when to use each for optimal design and code reuse.
-
Stop Fragile Code: Enforce Business Rules Using DDD Entities
medium.com Issue #339
We will learn another important Key Topic Entity in DDD.
-
Clean Architecture Is Not Enough: The 2025-Ready Way to Design .NET Systems
medium.com Issue #338
(Feature slicing, modular monoliths, and boundaries that scale — without forced microservices)
-
Wait — Isn’t DbContext Already a Repository?
medium.com Issue #338
The Real-World Case for the Repository Pattern in Clean Architecture & .NET 8 (with EF Core)
-
Inbox Pattern & Outbox Pattern in C# — Are They Really Real or Just Buzzwords?
dotnetfullstackdev.medium.com Issue #338
In modern distributed systems, you will often hear people throwing around terms like:
-
Top 5 .NET 10 Features That You Need to Know
medium.com Issue #336
Design Patterns in .NET: Practical Implementations That Actually Matter