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 7 of 18
Browse additional C# and .NET Design Patterns articles from the DotNetNews archive.
C# and .NET Design Patterns articles
Page 7 of 18
Newest first
-
Building Resilient Cloud Applications with Polly and ASP.NET Core
C# Corner 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
Chris Pietschmann 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?
Chris Pietschmann 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
Medium 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# Corner 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 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 Issue #472
🧩 The Requirement
-
DRY Is the Most Misunderstood Rule in Programming
Milan's .NET Weekly 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# Corner 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
Microsoft Dev Blogs 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?
Chris Pietschmann 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# Corner 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
Bipin Joshi .NET | Thus said a Byte • Insights on .NET and Web Development 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
Dev Tips 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
Bipin Joshi .NET | Thus said a Byte • Insights on .NET and Web Development 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 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 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 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 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 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
Bipin Joshi .NET | Thus said a Byte • Insights on .NET and Web Development 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...
-
Repository Pattern in .NET 10 - Do You Really Need It?
codewithmukesh Issue #463
I have shipped 50+ .NET APIs and most did not need a Repository Pattern. My sharp .NET 10 verdict on when to use it, when to skip it, what to use instead.
-
I stopped using 6 design patterns in C#
Medium Issue #461
I used to be a design pattern evangelist. Factory classes everywhere. Singletons for shared services. Visitors for traversing object trees…
-
Repository Pattern in C#: Complete Guide with Generic Repository and Real-World Examples
Medium Issue #453
When developers start building applications using ASP.NET
-
The Observer Pattern in .NET — Events, Streams, and Awareness
Bipin Joshi .NET | Thus said a Byte • Insights on .NET and Web Development Issue #453
In software systems, state changes constantly—but the real challenge lies in propagating those changes to the right parts of the system without creating tight coupling. The Observer Pattern addresses ...