AI agents, async patterns, thread sync
Explore AI agent verification in .NET, RAG pipelines, Task vs ValueTask, thread synchronization, and Microsoft Agent Framework for production systems.
Jasen's top three picks
- 1 How to Make AI Write High-Quality Code in .NET
antondevtips.com
Guardrails and static analysis keep AI-generated code honest—Claude review skills catch what linters miss.
- 2 Counting to int.MaxValue — and Learning Thread Synchronization Along the Way in C#
medium.com
Counting to int.MaxValue is a clever pedagogical trick for understanding thread safety and synchronization primitives.
- 3 AI Agent Verification in .NET: Building Deterministic Checks for Non-Deterministic AI
c-sharpcorner.com
Deterministic checks wrap non-deterministic AI behavior; essential for enterprise reliability.
Editor's note
This week’s mix leans heavily into AI—verification, RAG, agents—which reflects where the ecosystem is moving. But we’ve also got solid fundamentals: Task vs ValueTask (entry 8) is a perennial gotcha, and the thread-counting exercise (entry 2) is a clever way to internalize concurrency. Visual Studio’s per-solution themes (entry 9) is a small quality-of-life win worth knowing about.
Today's articles
How to Make AI Write High-Quality Code in .NET
antondevtips.com
AI writes .NET code fast, but it only follows the rules it cannot skip. Learn how to set up build guardrails, static analysis, and a Claude review skill that catches clean code issues on every change.
Topics: Clean Architecture C# OpenAI
Read articleCounting to int.MaxValue — and Learning Thread Synchronization Along the Way in C#
medium.com
After reading and exploring various blogs and books about threads in C#, I started thinking about what example I could work on to dig into…
Topics: C# Performance
Read articleAI Agent Verification in .NET: Building Deterministic Checks for Non-Deterministic AI
c-sharpcorner.com
Learn how to verify AI agent behavior in .NET using deterministic checks, tool validation, policy enforcement, and automated tests for safer and more reliable enterprise AI systems.
Topics: C# Semantic Kernel
Read articleGetting started with RAG in ASP.NET Core
blog.elmah.io
AI hype is everywhere, but where do you start with .NET? In this beginner-friendly post, we build a simple RAG pipeline in an ASP.NET Core Web API using keyword matching instead of embeddings, coverin...
Topics: ASP.NET Core OpenAI
Read articleCustom Agents in Microsoft Agent Framework for .NET: building a chat with custom instructions
code4it.dev
Learn how to create a custom AI Agent in Microsoft Agent Framework for .NET with a name and custom instructions. And then, learn how to handle multi-turn conversations and improve responses through be...
Topics: C# Semantic Kernel
Read articleBoost Your .NET Projects with Spargine: Simplify Thread Pool Execution with ThreadPoolHelper
dotnettips.com
Spargine's ThreadPoolHelper simplifies concurrent execution in .NET applications by providing reusable APIs that manage thread pool operations. It supports single and batch operations, bounded concurr...
Topics: C# Performance
Read articleUsing the .NET .http file to test native auth in Entra External ID (EEID)
medium.com
The .http docs are here. Continue reading on The new control plane »
Topics: Authentication Azure
Read article[.NET] Task vs ValueTask — understand the differences like a pro
edengoforit.medium.com
Before we explain the differences between Task and ValueTask, we should understand why Task became the core building block of async…
Topics: C# Performance
Read articleStop alt-tabbing into the wrong Visual Studio
devblogs.microsoft.com
A user asked for per-solution color themes. It already ships, and it goes further than they asked. You run several instances of Visual Studio side by side, one per solution, and they all look identica...
Topics: C# Visual Studio
Read articleNodes & Edges in Microsoft Agent Framework
jesseliberty.com
tl;drHow do you reliably combine deterministic business logic, parallel retrieval, and noisy LLM calls in production? The Microsoft Agent Framework answers this by modeling workflows as directed graph...
Topics: C# Semantic Kernel
Read articleHow fast is .NET 11 Runtime Async?
csharpdigest.net
Runtime Async is a new asynchronous execution model arriving in .NET 11.
Topics: .NET 10 Performance
Read articleWindows App Development CLI 0.6: Automating WinUI 3 Builds from the Command Line
c-sharpcorner.com
Learn how Windows App Development CLI 0.6 can automate WinUI 3 builds from the command line, simplifying project setup, compilation, packaging, and developer workflows.
Topics: Visual Studio WPF
Read article