Agent Framework, ASP.NET Core, and C#
Explore local agents, RAG, SignalR JWTs, .NET 10 CORS, idempotent POST handling, and practical C# design and cancellation guidance.
Jasen's top three picks
- 1 BlogWriter Architecture Part 1
YapCast – Jesse Liberty
A first look at decomposing a multi-agent BlogWriter design before getting into implementation details.
- 2 WinAppCLI v0.7.0 - Windows Sandbox automation, Native AOT support, single-file applications, and more
Microsoft Dev Blogs - Zachary Teutsch
WinAppCLI adds Windows Sandbox automation alongside Native AOT and single-file application support.
- 3 What's the highest legal FILETIME ? Is it safe to use?
Microsoft Dev Blogs - Raymond Chen
Raymond Chen examines the boundary conditions behind a seemingly simple FILETIME sentinel value.
Editor's note
I pulled together a deliberately broad mix today, from the practical trade-offs between Agent Framework clients to the less glamorous but vital work of wiring CancellationToken correctly. The .NET 10 CORS checklist and the .NET 8 idempotency piece are especially worthwhile for teams shipping internet-facing services.
Today's articles
BlogWriter Architecture Part 1
YapCast – Jesse Liberty
In a previous blog post I promised to take apart the BlogWriter architecture and implementation. I thought today I’d start with the architecture. The original design was to have 4 agents:* BlogWriter ...
Topics: C# Design Patterns
Read articleWinAppCLI v0.7.0 - Windows Sandbox automation, Native AOT support, single-file applications, and more
Microsoft Dev Blogs - Zachary Teutsch
Topics: Native AOT
Read articleWhat's the highest legal FILETIME ? Is it safe to use?
Microsoft Dev Blogs - Raymond Chen
A customer wanted to define a sentinel FILETIME that will be considered larger than another FILETIME. In other words, CompareFileTime should always say that the sentinel value is later. What's a goo...
Topics: .NET Core
Read article.NET + Foundry, better together
YouTube - dotnet
What can you build with .NET and Microsoft Foundry? Let’s find out together! Join us for a series of practical explorations featuring new SDK capabilities, cool projects, and the latest Foundry featur...
Topics: OpenAI
Read articleOOP Pillars in C#: What .NET Interviews Actually Ask
Medium - Anchalmehandiratta
Encapsulation, inheritance, polymorphism, abstraction — everyone can recite the four pillars, but interviews rarely stop at definitions…
Topics: C# Design Patterns
Read articleRunning Microsoft Agent Framework Locally
YapCast – Jesse Liberty
Run a full Microsoft Agent Framework (MAF) agent entirely on-device to eliminate round trips to the cloud, reduce latency, avoid egress costs, and keep sensitive data private. With Foundry Local you c...
Topics: OpenAI
Read articleChatClient v ResponsesClient in Microsoft Agent Framework
YapCast – Jesse Liberty
TL;DRUse the Responses client for new projects if you want the newest, richest hosted tools and structured outputs; use the Chat Completion client when you need maximum backward compatibility or are c...
Topics: OpenAI
Read articleRAG, Explained With Football: Let’s Build a Euro 2024 Assistant That Doesn’t Make Things Up
Medium - Alparslan Parlak
A friendly, step-by-step guide to Retrieval-Augmented Generation with .NET, Gemini and a CSV full of match stats
Read articleCode it with AI
Rockford Lhotka's Blog
For the past couple of months I’ve been co-hosting Code it with AI , a YouTube series with Carl Franklin (yes, that Carl, from .NET Rocks!). I haven’t mentioned it here yet, and that’s an oversight I ...
Topics: GitHub Copilot
Read articleException Handling in C#: What .NET Interviews Actually Ask
Medium - Anchalmehandiratta
Exception handling looks simple on the surface — try, catch, finally — but a handful of specific gotchas come up constantly in interviews…
Topics: C#
Read articleInterfaces in C# explained
Round The Code - David Grace
Learn how interfaces work in C#, covering contracts, polymorphism, multiple interfaces, default methods, access modifiers and static members.
Topics: C# Design Patterns
Read articleI benchmarked my .NET MCP server on Polly. It broke six ways.
Medium - Ahmed Mustafa
What an AI coding agent actually needs from a C# solution, and what changed once I measured instead of guessing.
Topics: Benchmarking C#
Read articleMonoGame + C# Procedural Animations!
Medium - Matt Perley
So I have been looking for more MonoGame based tutorials on this, a lot of them that still exist are really good, but to many XNA and…
Topics: C#
Read article23 GoF Design Patterns — Part 2: Behavioral Patterns
Medium - Pavan pitthdiya
In [Part 1], we covered the first 12 GoF Design Patterns:
Topics: C# Design Patterns
Read articleHow to Add JWT Authentication to SignalR Hubs in ASP.NET Core
Medium - Anton Martyniuk
SignalR makes real-time communication in .NET applications simple. Continue reading on CodeX »
Topics: Authentication JWT SignalR
Read articleCORS in ASP.NET Core (.NET 10) - Cross-Origin Done Right
codewithmukesh
Configure CORS in ASP.NET Core .NET 10. Preflight, named policies, the AllowAnyOrigin + AllowCredentials trap, 7 misconfigurations, and a production checklist.
Topics: ASP.NET Core .NET 10 Security
Read articleState, Memory, and the Two Camps Fighting Over What Your Agent Should Remember
Medium - Ali Süleyman TOPUZ
I built the same memory system twice, once for a project with three people and once for a codebase eleven teams touch, and I’m no longer…
Topics: OpenAI
Read articleVisual Studio Code CMake Tools 1.24
Microsoft Dev Blogs - Hannia Valera
CMake Tools 1.24 includes several reliability fixes and productivity improvements. You can run tests from the editor, save preset-backed cache edits as user overrides, and keep source-file lists up to...
Topics: Visual Studio Code
Read articleMaking POST Requests Idempotent in .NET 8: Preventing Duplicate Requests in Distributed Systems
Medium - Adeboye Salisu
A practical look at how I used idempotency keys, EF Core and PostgreSQL unique constraints in Taskora to make retries safe under…
Topics: .NET 8 EF Core PostgreSQL
Read articleCancellationToken: The Parameter Everyone Adds but Nobody Wires Up
Medium - Suhasini Darade
It’s sitting in almost every async signature in your codebase. Most of the time, it’s doing nothing.
Topics: C# Performance
Read article