Clean Architecture, JWT, and .NET 9
A varied .NET roundup with DDD and Clean Architecture, JWT auth, EF Core auditing, xUnit fixtures, SignalR, and .NET 9 tips.
Jasen's top three picks
- 1 How To Use Domain-Driven Design (DDD) in Clean Architecture — With C# and Real Examples.
medium.com
A solid DDD/Clean Architecture primer to start the issue; useful if you’re separating domain rules from framework concerns.
- 2 Writing Future-Proof C# Code: How to Build Software That Lasts
medium.com
A practical future-proofing piece—good advice, even if the real trick is keeping abstractions honest and minimal.
- 3 The Power of Abstractions: Building Flexible Code in .NET
medium.com
This one pairs well with the DDD articles: abstraction decisions matter most when the next requirement arrives.
Editor's note
I pulled together a pretty wide mix this time: architecture, security, data access, testing, and a few runtime and framework refreshers. The DDD/Clean Architecture pieces and the JWT setup article stood out because they’re practical, opinionated, and aimed at codebases people are actively maintaining. I also like seeing reminders like the xUnit fixtures post and the GC deep dive because they solve very real day-to-day problems.
Today's articles
How To Use Domain-Driven Design (DDD) in Clean Architecture — With C# and Real Examples.
medium.com
When developers talk about scalable software design, two architectural patterns often come up: Clean Architecture and Domain-Driven…
Topics: Clean Architecture C# Domain-Driven Design
Read articleWriting Future-Proof C# Code: How to Build Software That Lasts
medium.com
Most developers write code to make something work. But great developers write code to make something last.
Topics: Clean Architecture C# Solid Principles
Read articleThe Power of Abstractions: Building Flexible Code in .NET
medium.com
At some point in your .NET journey, you’ll run into a piece of code that “just works” — until a new requirement breaks everything. That’s…
Topics: Clean Architecture .NET Core Solid Principles
Read articleRefactoring Legacy .NET Framework Apps for Cloud-Native Deployment
c-sharpcorner.com
Modernize legacy .NET Framework applications for cloud-native deployment without costly rewrites. This guide outlines an incremental refactoring approach, focusing on containerization, abstraction lay...
Topics: Azure Docker .NET Framework
Read articleLifeTracker — A .NET App 5: Many to Many Relationship Notes
jackymlui.medium.com
Perhaps the most complex part of this app is the Many-to-Many relationship between the Template and Question models. You can find the code…
Read article.NET 9: The Quiet Power-Up That Every Developer Will Feel
medium.com
🧠 TL;DR
Topics: C# .NET 9 Performance
Read articleDomain Validation With .NET | Clean Architecture, DDD, .NET 9.
medium.com
In Domain-Driven Design (DDD), validation is not just about checking if a field is empty or an email is valid — it’s about protecting the… Continue reading on Activated Thinker »
Topics: Clean Architecture Domain-Driven Design .NET 9
Read article7 No-Drama Steps to JWT Auth in .NET 9 (Clean Architecture, Copy-Paste Friendly)
medium.com
If you want the full source code, join our community: Here
Topics: ASP.NET Core .NET 9 JWT
Read article🚀 .NET Core API for SignalR Integration (with Example)
c-sharpcorner.com
Unlock real-time communication in your .NET Core APIs with SignalR! This guide provides a step-by-step walkthrough, complete with a working code example, demonstrating how to integrate SignalR for ins...
Topics: ASP.NET Core SignalR Web API
Read articleC#.NET Developer Roadmap — A Complete Guide
medium.com
Becoming a skilled C# ASP.NET developer is a rewarding journey that combines strong programming fundamentals with modern web development…
Topics: ASP.NET Core C# .NET Core
Read articleDifference between ASP.NET MVC, C#, and ASP.NET Core
c-sharpcorner.com
Understand the key differences between C#, ASP.NET MVC, and ASP.NET Core. This guide clarifies their roles in web development, highlighting C# as a programming language, ASP.NET MVC as a legacy Window...
Topics: ASP.NET Core C# ASP.NET MVC
Read articlePrompt Engineering vs. Context Engineering: A Technical Reality Check
c-sharpcorner.com
This article clarifies the relationship between prompt engineering and context engineering, emphasizing that context engineering is a crucial component supporting prompt engineering, not a replacement...
Topics: C# OpenAI Semantic Kernel
Read articleRequest and Response Models: Keep Your API Contracts Clean in ASP.NET Core
medium.com
How to separate domain entities from API contracts to prevent data leaks and breaking changes in your ASP.NET Core APIs.
Topics: ASP.NET Core Solid Principles Web API
Read article🧠 GC.Collect() vs GC.SuppressFinalize() in .NET — Deep Dive (with Real-World Examples)
c-sharpcorner.com
Unlock .NET memory management secrets! This deep dive explores GC.Collect() and GC.SuppressFinalize(), revealing when and how to use them effectively. Learn the nuances of garbage collection in .NET 8...
Topics: C# .NET Core Performance
Read articleAuditing Changes in EF Core: Track Who Updated What and When
medium.com
A step-by-step guide to logging who updated what and when in your .NET applications.
Topics: Application Insights EF Core SQL Server
Read articleUse fixtures in xUnit for shared context in unit tests
roundthecode.com
Learn how to use xUnit fixtures like IClassFixture and ICollectionFixture to share setup and context across your unit tests efficiently. The page Use fixtures in xUnit for shared context in unit tests...
Topics: .NET Core Unit Testing xUnit.net
Read articleJWT Authentication with ASP.NET Core Identity and Entity Framework (EF)
c-sharpcorner.com
Secure your ASP.NET Core Web APIs with JWT authentication! This tutorial guides you through integrating ASP.NET Core Identity, Entity Framework Core, and JSON Web Tokens for robust user authentication...
Topics: ASP.NET Core EF Core JWT
Read articleHow to Use a Scoped Service Inside a Hosted Service in .NET
malshikay.medium.com
Avoid common dependency injection mistakes and build clean, reliable background jobs in .NET using IServiceScopeFactory
Topics: C# Design Patterns .NET Core
Read articleMastering TextWriter in C#: A Complete Guide for Developers
medium.com
In modern software development, working with files and text data is a common requirement.
Topics: C# .NET Core Performance
Read articleUnderstanding Searching Algorithms: Linear Search and Binary Search
c-sharpcorner.com
Explore the fundamentals of searching algorithms with Linear and Binary Search. Learn how these algorithms efficiently locate elements within data structures. Discover their step-by-step logic, Python...
Topics: Benchmarking C# Performance
Read articleC# 13 / .NET 9: The New Lock Type That’s 25% Faster (and Smarter)
medium.com
Concurrency in C# just got an upgrade. With .NET 9, Microsoft introduces a dedicated Lock type — finally freeing us from the awkward days…
Topics: C# .NET 9 Performance
Read articleIntegrating Visa CyberSource in .NET: A Practical Guide
blog.yaseerarafat.com
Learn how to integrate Visa CyberSource in .NET for secure, seamless payment processing with best practices…
Topics: .NET Core Security Web API
Read articleDelete Single or Multiple Records from GridView in ASP.NET
c-sharpcorner.com
Learn how to implement single and multiple record deletion in ASP.NET GridView using checkboxes, client-side validation, and a SQL Server stored procedure. This tutorial covers UI design with a GridVi...
Topics: ASP.NET Core .NET Framework SQL Server
Read article