AI Agents, JWT Security and C# 14
This edition covers Aspire terminal output, MCP-connected agents, cancellation patterns, JWE inspection, multi-tenant reporting, and new C# features.
Jasen's top three picks
- 1 Bringing rich terminal experiences to Aspire
Microsoft Dev Blogs - Mitch Denny
A look at making Aspire applications feel more at home in the terminal, where developer feedback loops are often fastest.
- 2 Claude in Microsoft Foundry: How to Connect Agents to Tools and MCP
C# Corner - Ananya Desai
Useful practical territory for connecting Claude-based agents to tools through Microsoft Foundry and MCP.
- 3 Cancel Slow AI Calls in .NET Without Hiding the Cause
C# Corner - Ranknod
Cancellation needs to preserve the real failure signal; this piece focuses on avoiding misleading outcomes from slow AI calls.
Editor's note
I pulled together a deliberately varied set today, from Aspire’s richer terminal experience to C# 14 operator customization. The JWE walkthrough matters because token confidentiality is often assumed rather than verified. I also flagged the row-level security reporting piece for its practical multi-tenant boundary.
Today's articles
Bringing rich terminal experiences to Aspire
Microsoft Dev Blogs - Mitch Denny
Think back to the first code that you ever wrote. For a significant majority of developers that first code was probably a "hello, world" program written in your language of choice. After that there is...
Topics: .NET Aspire
Read articleClaude in Microsoft Foundry: How to Connect Agents to Tools and MCP
C# Corner - Ananya Desai
Topics: Azure
Read articleCancel Slow AI Calls in .NET Without Hiding the Cause
C# Corner - Ranknod
Topics: C# Performance
Read articleWhat’s Inside That Bearer Token? A Practical Guide to Encrypted JWTs (JWE) in .NET
Medium - Robert Dennyson
How to recognize a JWE, inspect its header, and decrypt it safely with .NET when you own the right key.
Topics: Authentication JWT Security
Read articleStep-by-Step Guide to Create Your First Dataverse Custom API
C# Corner - Arun Potti
Topics: REST API
Read articleFile-based apps can reference other C# files
Medium - Denis Makarenko
File-based apps can now split code across files without first creating a project.
Topics: C#
Read articleC# 14 Lets You Define Your Own += Operator
Medium - Ravikumar Makwana
We use this every day:
Topics: C#
Read articleBuilding an Agentic System in .NET, Part 5: Designing an Agent Bus in ASP.NET Core
Medium - Mehdi Mohseni
Multi-agent systems fail in boring ways: two agents claim the same task, a disconnected agent misses its hand-off, a heartbeat proves the…
Topics: ASP.NET Core
Read articleMulti-tenant reporting in ASP.NET Core: row-level security your users can’t bypass
Medium - Dotnet Report Builder
By Razi Syed. Sample code for this article: github.com/dotnetreport/dotnetreport-multitenant-rls
Topics: ASP.NET Core Authorization Security
Read articleThe 2 AM Bug That Taught Me How Obfuscation Actually Breaks Your Code
Medium - Skater .NET Obfuscator
I used to think obfuscation was a “flip the switch and ship it” kind of tool. Then I spent a night debugging a TypeLoadException in a…
Read articleI Thought I Knew LINQ — Then I Discovered These Methods
Medium - Ravikumar Makwana
I’ve been writing C# for years. I’ve used LINQ countless times. Where(), Select(), OrderBy(), GroupBy()...
Topics: C#
Read articleBuilding Interactive AI Agents Instead of One-Way Chatbots in C#
C# Corner - Aarav Patel
Topics: C#
Read article