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 3 of 14
Browse additional C# and .NET Design Patterns articles from the DotNetNews archive.
C# and .NET Design Patterns articles
Page 3 of 14
Newest first
-
C#: What Is the Repository Pattern for Data Access with Entity Framework?
pietschsoft.com Issue #480
If you spend enough time building C# applications, you eventually run into this question:
-
I Deleted the Repository Pattern From Our Codebase. Here’s What Happened.
medium.com Issue #479
Six months later, nobody asked for it back. (And our tests finally catch real bugs.)
-
Event Sourcing in .NET: Real-World Implementation Patterns
c-sharpcorner.com Issue #478
Explore Event Sourcing in .NET: store business events, not just current state. Learn patterns for audit trails, time travel, and complex workflows.
-
When Your Use Case Half-Succeeds: Designing for Partial Failure in .NET
milanjovanovic.tech Issue #477
A use case isn't a transaction. The moment it touches more than one system, you are dealing with partial failure. Here's how I classify side effects and design use cases that fail loudly and recover s...
-
Building Resilient Cloud Applications with Polly and ASP.NET Core
c-sharpcorner.com Issue #477
Build robust ASP.NET Core cloud apps with Polly. Implement retries, circuit breakers, timeouts, and fallbacks for ultimate resilience.
-
C#: Inheritance vs Composition — When to Use Each and Why AI Can't Decide for You
pietschsoft.com Issue #476
Every C# developer eventually hits this question: should I use inheritance or composition here? And if you ask an AI — or search for articles online — you’ll get the standard answer: “favor compositio...
-
C#: Should This Be a Class, Record, Struct, or Interface?
pietschsoft.com Issue #476
Every time you add a new type to a C# codebase, you face the same quiet decision: class, record, struct, or interface? And once you pick class , a second wave of questions arrives — should it be abstr...
-
Keyed Services in .NET 10: The DI Feature Almost Nobody Uses
serkanozbeykurucu.medium.com Issue #475
.NET 10 is the current long-term support release. It will be patched until late 2028. And buried in the DI container is a feature that…
-
How to Implement Rate Limiting in ASP.NET Core Applications
c-sharpcorner.com Issue #473
Learn how to implement Rate Limiting in ASP.NET Core applications using built-in middleware. Explore Fixed Window, Sliding Window, and Token Bucket strategies.
-
The .NET Architecture Pattern That Impresses in Code Reviews — but Can Break Under Real-World Scale
medium.com Issue #472
In modern software development, architecture decisions often separate maintainable applications from systems that become difficult to…
-
Handling Audit Fields in .NET Core Cleanly with AutoMapper Context Items
medium.com Issue #472
🧩 The Requirement
-
DRY Is the Most Misunderstood Rule in Programming
milanjovanovic.tech Issue #472
DRY was never about code that looks the same. It's about knowledge. Most of the tangled abstractions I've had to unwind started as a well-meaning attempt to remove duplication that was never really du...
-
How to Integrate Claude AI with .NET Applications
c-sharpcorner.com Issue #472
Learn how to integrate Claude AI with .NET applications using ASP.NET Core, C#, and Claude API. Build AI chatbots, assistants, and enterprise apps.
-
Give Your .NET MAUI Android Apps a Material 3 Makeover
devblogs.microsoft.com Issue #472
Material 3 (a.k.a. Material You) support is now available for .NET MAUI apps on Android. Here is how to enable it, what changes today, and what is still on the way. The post Give Your .NET MAUI Androi...
-
C#: Should This Service Be Singleton, Scoped, or Transient?
pietschsoft.com Issue #472
One of the most common ASP.NET Core dependency injection questions sounds simple:
-
EF Core Auditing Using Interceptors: Step-by-Step Tutorial
c-sharpcorner.com Issue #472
Learn how to implement EF Core auditing using SaveChanges Interceptors. Track CreatedBy, ModifiedBy, timestamps, soft deletes, and user activity with practical examples.
-
Strategy Pattern: Choosing Without Attachment
binaryintellect.net Issue #472
Every application reaches a point where it must make a choice. How should a list be sorted? How should a payment be processed? Which discount should be applied? How should a user be authenticated? The...
-
40 Lessons I Learned in 12 Years as a .NET Developer
antondevtips.com Issue #472
After 12 years of building .NET applications, I have learned 40 hard-earned lessons about writing code, designing systems, and shipping software. From clean code and architecture trade-offs to code re
-
When Design Patterns Become Rituals
binaryintellect.net Issue #472
There is a peculiar phenomenon that happens in software teams after they reach a certain size or maturity. Design patterns — those hard-won abstractions distilled from decades of engineering experienc...
-
I Built a Full-Stack Marketplace in 3 Months — Here’s What Actually Happened
medium.com Issue #472
Most portfolio projects look the same. A todo app, a weather dashboard, maybe a blog with a CMS.
-
Mission Possible : Implementing Design Patterns in .NET
medium.com Issue #469
This blog is designed to go through nine major design patterns revolving around three categories of these patterns — creational (dealing…
-
Pragmatic Monads for .NET Developers
medium.com Issue #464
For sometime now, whenever I heard about Monads, my eyes glazed over. As a .NET developer, the heavy academic jargon — functors, category…
-
Mastering C# Delegates: The Remote Controls That Power Your Code
medium.com Issue #464
Say goodbye to messy if-else chains and learn how C# delegates power events, design patterns, LINQ, and cleaner, more flexible code. Continue reading on TechBits@Argusoft »
-
How .NET Developers Build Secure and Scalable Enterprise Applications
medium.com Issue #464
Enterprise software development really needs this rare mix of performance and security, but also maintainability, and long-term platform…
-
Strategy Pattern: Choosing Without Attachment
binaryintellect.net Issue #463
Every application reaches a point where it must make a choice. How should a list be sorted? How should a payment be processed? Which discount should be applied? How should a user be authenticated? The...