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 11 of 18
Browse additional C# and .NET Design Patterns articles from the DotNetNews archive.
C# and .NET Design Patterns articles
Page 11 of 18
Newest first
-
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 ...
-
-
Is It a Dictionary? Is It a Queue? No! It’s a C# UniquePriorityQueue!
Medium 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 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 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 Issue #344
Friend link :- Read full story for free!
-
How To Use The Specification Design Pattern in .NET 9
Medium 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 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 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# Corner 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 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# Corner 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 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 Issue #338
(Feature slicing, modular monoliths, and boundaries that scale — without forced microservices)
-
Wait — Isn’t DbContext Already a Repository?
Medium 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?
Medium 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 Issue #336
Design Patterns in .NET: Practical Implementations That Actually Matter
-
ASP.NET Core 9 performance, .NET 10 changes
DotNetNews Issue #334
A varied .NET roundup covering ASP.NET Core 9 speedups, .NET 10 breaking changes, logging, collections, rate limiting, and cloud updates.
-
Double Dispatch in DDD
codeopinion.com Issue #320
What’s Double Dispatch? Well, before we get to what it is, there is a common belief in domain-driven design that you want to keep your domain pure, meaning no dependencies, no services, no distraction...
-
Stop Designing for Traffic — Design for Failure
Medium Issue #320
Most architects obsess over traffic. “How do we handle 10,000 requests per second?” Wrong question.
-
DTO (Data Transfer Object)
Medium Issue #316
DTO (Data Transfer Object) Nedir?