Home Archive Clean Architecture, JWT Auth, AI Agents & More – .NET News Daily Issue #471 (Jun 9, 2026)

Editor's note

Today’s mix spans foundational patterns to cutting-edge AI development. The Clean Architecture guides from CodeWithMukesh offer practical .NET 10 implementations, while the AI agent memory patterns show how to build enterprise-grade intelligent systems. The EF Core interceptors article demonstrates real-world cross-cutting concerns, and Scott Sauber’s ten essential practices provide battle-tested wisdom for every .NET project.

Enjoying the newsletter? Your feedback helps us grow and reach more developers.

Share your testimonial →

Today's Articles

Async and Await in C# for Beginners

https://www.c-sharpcorner.com/article/async-and-await-in-c-sharp-for-beginners/?utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

Unlock the power of asynchronous programming in C#! This beginner's guide explains async and await with clear examples, boosting app responsiveness and performance. Learn to handle long-running tasks ...

On .NET Live - Fluent UI Blazor: The next step

https://www.youtube.com/watch?v=CRVLURJjFBk&utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

In this session, Denis and Vincent will show you what is new in the next major version of the Microsoft Fluent UI Blazor library. 🔗 Repo: https://github.com/microsoft/fluentui-blazor 🎙️ Featuring: M...

.NET Data Community Standup: 8 Real-World Query Anti‑Patterns (and How to Fix Them)

https://www.youtube.com/watch?v=jlR6KFuFODI&utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

Join us for another show, where Chris Woodruff teaches us about 8 query anti-patterns and how to fix them. 🔗 Links: https://learn.microsoft.com/en-us/ef/core/learn-more/community-standups 🎙️ Featuri...

Clean Architecture in .NET: Benefits, Challenges, and Implementation Guide

https://www.c-sharpcorner.com/article/clean-architecture-in-net-benefits-challenges-and-implementation-guide/?utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

Learn Clean Architecture in .NET with practical examples. Explore its benefits, challenges, implementation approach, and best practices for scalable applications.

Implementing Clean Architecture in .NET 10 - Step-by-Step Guide

https://codewithmukesh.com/blog/clean-architecture-dotnet/?utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

A complete, junior-friendly guide to Clean Architecture in .NET 10. Build a movie API across Domain, Application, Infrastructure, and API layers with EF Core and Aspire.

Repository Pattern in .NET 10 - Do You Really Need It?

https://codewithmukesh.com/blog/repository-pattern-do-you-really-need-it/?utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

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.

Announcing Agent Governance Toolkit MCP Extensions for .NET

https://devblogs.microsoft.com/dotnet/announcing-agent-governance-toolkit-mcp-extensions-for-dotnet/?utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

Announcing a Public Preview .NET package that adds policy enforcement, startup tool scanning, fallback governance, and response sanitization to MCP servers with a single builder extension. The post An...

On .NET Live - DuckDB & Orleans: When Fake Asynchrony Starves Your App!

https://www.youtube.com/watch?v=VvT5mRpsLdA&utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

Ledjon examines the impact of using DuckDB within Microsoft Orleans grains. He shows how synchronous calls can cause scheduler starvation and reduced throughput. The episode presents benchmark results...

On .NET Live: How Coding Standards Supercharge .NET Quality & Performance

https://www.youtube.com/watch?v=TPXE4DynWC0&utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

Discuss coding standards from the 20th anniversary edition of my book. How to structure your projects for long-term maintainability. How to apply coding standards that actually improve productivity. C...

JWT Authentication in ASP.NET Core - A Complete .NET 10 Guide

https://codewithmukesh.com/blog/jwt-authentication-in-aspnet-core/?utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

Implement JWT authentication in ASP.NET Core .NET 10 - generate signed tokens with JsonWebTokenHandler, secure Minimal API endpoints, and add role-based authorization.

AI Building Blocks for .NET: Add intelligence to your C# Apps

https://www.youtube.com/watch?v=5PHd2gUdM28&utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

A practical, opinionated guide to building intelligent apps in .NET ⌚ Chapters: 00:00 Welcome and Intro 00:28 What we're talking about today 02:58 Today's building blocks 03:40 Foundations: Microsoft....

.NET Aspire Explained: Building Cloud-Native Applications in .NET

https://www.c-sharpcorner.com/article/net-aspire-explained-building-cloud-native-applications-in-net/?utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

Learn .NET Aspire and discover how it simplifies building cloud-native applications with service discovery, observability, health checks, and distributed application support.

.NET 11 in depth: Runtime, libraries, and SDK for the AI era

https://www.youtube.com/watch?v=-zAYZ7GSjAs&utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

Join Chet and Rich for a tour of how the .NET Runtime, libraries, and tooling are improving for .NET 11. You'll learn about investments in Native AOT, support for AI agents of all kinds, foundational ...

Blazor WASM in VS Code? Razor Editor Keeps Breaking After Save? Here’s the Fix

https://medium.com/@mdimasradityatama_59085/blazor-wasm-in-vs-code-razor-editor-keeps-breaking-after-save-heres-the-fix-b296a4ebb0e6?source=rss------csharp-5&utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

*Pair-debugging with an AI agent. 9 extension versions tested. One root cause found.*

Implementing Long-Term Memory in Enterprise AI Agents Using C#

https://www.c-sharpcorner.com/article/implementing-long-term-memory-in-enterprise-ai-agents-using-c-sharp/?utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

Learn how to implement long-term memory in enterprise AI agents using C#, vector databases, embeddings, and memory retrieval patterns to build intelligent and personalized AI solutions.

One Missing Index Made My Query 600× Slower. I Found It in Front of the Client.

https://medium.com/@thecurlybrace/one-missing-index-made-my-query-600-slower-i-found-it-in-front-of-the-client-8a0be6258410?source=rss------dotnet-5&utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

A 4-minute story about why your database is slow — and the one-line fix, explained with a picture you can actually hold in your head.

Ten Things Scott Sauber Does On Every .NET App

https://www.spreaker.com/episode/ten-things-scott-sauber-does-on-every-net-app--72199724?utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

What settings, configurations, and workflows do you use for every .NET app? Carl and Richard talk to Scott Sauber about his list - from organizing folders by feature, to logging, security, and testing...

Multi-agent patterns in VS Code you won't learn from docs | BRK201

https://www.youtube.com/watch?v=n-ifKF4tn-4&utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

Building with one agent is familiar. Orchestrating a fleet of them in parallel across local, background, and cloud surfaces is where it gets real. You'll see the decisions that matter, how to decompos...

Validation with MediatR Pipeline Behavior and FluentValidation in .NET 10

https://codewithmukesh.com/blog/validation-with-mediatr-pipeline-behavior-and-fluentvalidation/?utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

Validate MediatR commands centrally in the pipeline with FluentValidation and IExceptionHandler in ASP.NET Core .NET 10 - clean handlers, one Problem Details response.

ASP.NET Core Endpoint Filters: Complete Guide with Examples

https://www.c-sharpcorner.com/article/asp-net-core-endpoint-filters-complete-guide-with-examples/?utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

Learn ASP.NET Core Endpoint Filters with practical examples. Understand validation, logging, authorization, performance monitoring, exception handling, and best practices for Minimal APIs.

RestSharp in Practice (Part 2) POST, PUT, DELETE, and JWT Authentication

https://medium.com/@bluescor61/restsharp-in-practice-part-2-post-put-delete-and-jwt-authentication-4794e3e24d90?source=rss------dotnet-5&utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

RestSharp in Practice (Part 2)

Simplifying .NET Installs with dotnetup

https://www.youtube.com/watch?v=eExkCpyUrrs&utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

A new way to manage .NET SDK and Runtime installations that works for every user, on every platform! ⌚ Chapters: 00:00 Welcome and Intro 00:26 What we're talking about today 01:14 Installing .NET 07:2...

Entity Framework Core Interceptors: Real-World Use Cases and Examples

https://www.c-sharpcorner.com/article/entity-framework-core-interceptors-real-world-use-cases-and-examples/?utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

Learn Entity Framework Core Interceptors with real-world examples. Implement auditing, soft deletes, SQL logging, and performance monitoring in EF Core applications.

RestSharp in Practice (Part 3) Error Handling and Grid CRUD Save Patterns

https://medium.com/@bluescor61/restsharp-in-practice-part-3-error-handling-and-grid-crud-save-patterns-d38d352d685b?source=rss------dotnet-5&utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

RestSharp in Practice (Part 3)

Refresh Tokens in ASP.NET Core - A Complete .NET 10 Guide

https://codewithmukesh.com/blog/refresh-tokens-in-aspnet-core/?utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-471

Implement refresh tokens in ASP.NET Core .NET 10 - token rotation, reuse detection, revocation, and where to store them, built on top of JWT authentication.

Jasen's take on today's picks

Async and Await in C# for Beginners

Solid async/await primer for developers making the jump to asynchronous programming patterns.

On .NET Live - Fluent UI Blazor: The next step

Microsoft's Fluent UI Blazor gets major updates - worth watching if you're building modern web UIs.

.NET Data Community Standup: 8 Real-World Query Anti‑Patterns (and How to Fix Them)

Chris Woodruff tackles common EF Core query mistakes that kill performance in production apps.

Clean Architecture in .NET: Benefits, Challenges, and Implementation Guide

Clean Architecture fundamentals with practical .NET examples and real implementation challenges covered.

Implementing Clean Architecture in .NET 10 - Step-by-Step Guide

CodeWithMukesh delivers another comprehensive guide - this time Clean Architecture with .NET 10 and Aspire.

Repository Pattern in .NET 10 - Do You Really Need It?

Repository Pattern reality check: when you need it, when you don't, and what alternatives work better.

Announcing Agent Governance Toolkit MCP Extensions for .NET

Microsoft's new MCP extensions bring governance and policy enforcement to .NET AI agent development.

On .NET Live - DuckDB & Orleans: When Fake Asynchrony Starves Your App!

DuckDB and Orleans performance deep-dive shows how synchronous calls can starve your scheduler.

On .NET Live: How Coding Standards Supercharge .NET Quality & Performance

20th anniversary coding standards discussion - timeless principles for maintainable .NET projects.

JWT Authentication in ASP.NET Core - A Complete .NET 10 Guide

Complete JWT implementation guide covering token generation, validation, and role-based authorization in .NET 10.

AI Building Blocks for .NET: Add intelligence to your C# Apps

Practical AI building blocks for C# developers looking to add intelligence to existing applications.

.NET Aspire Explained: Building Cloud-Native Applications in .NET

.NET Aspire explained with cloud-native patterns, service discovery, and observability features covered.

.NET 11 in depth: Runtime, libraries, and SDK for the AI era

.NET 11 preview focusing on Native AOT improvements and AI-first development tooling enhancements.

Blazor WASM in VS Code? Razor Editor Keeps Breaking After Save? Here’s the Fix

VS Code Blazor WASM debugging fix - specific solution for Razor editor breaking after save operations.

Implementing Long-Term Memory in Enterprise AI Agents Using C#

Enterprise AI agent memory implementation using vector databases and C# embedding patterns.

One Missing Index Made My Query 600× Slower. I Found It in Front of the Client.

Database performance story: one missing index caused 600x slowdown, diagnosed and fixed client-side.

Ten Things Scott Sauber Does On Every .NET App

Scott Sauber shares ten essential configurations and practices he uses on every .NET project.

Multi-agent patterns in VS Code you won't learn from docs | BRK201

Multi-agent orchestration patterns in VS Code beyond single-agent development workflows and documentation.

Validation with MediatR Pipeline Behavior and FluentValidation in .NET 10

MediatR pipeline validation with FluentValidation - centralized command validation in .NET 10 applications.

ASP.NET Core Endpoint Filters: Complete Guide with Examples

ASP.NET Core endpoint filters guide covering validation, logging, and performance monitoring for Minimal APIs.

RestSharp in Practice (Part 2) POST, PUT, DELETE, and JWT Authentication

RestSharp Part 2 covers POST, PUT, DELETE operations with JWT authentication implementation examples.

Simplifying .NET Installs with dotnetup

dotnetup tool simplifies .NET SDK management across platforms - alternative to traditional installation methods.

Entity Framework Core Interceptors: Real-World Use Cases and Examples

EF Core interceptors for real-world scenarios: auditing, soft deletes, logging, and performance monitoring.

RestSharp in Practice (Part 3) Error Handling and Grid CRUD Save Patterns

RestSharp Part 3 focuses on error handling patterns and CRUD operations for grid-based applications.

Refresh Tokens in ASP.NET Core - A Complete .NET 10 Guide

Refresh token implementation in ASP.NET Core with rotation, reuse detection, and secure storage patterns.

Related issues

📬 Get daily .NET content delivered to your inbox