AI Agents, APIs and EF Core Performance
This edition covers gRPC mocking, Aspire integration tests, protected static files, Roslyn XPath queries, EF Core pitfalls, and AI tooling.
Jasen's top three picks
- 1
- 2 .NET Aspire Integration Testing Best Practices for Distributed Applications
medium.com
A while ago, I published an article about ASP.NET Core Integration Testing Best Practices. WebApplicationFactory, TestContainers, and… Continue reading on Co...
- 3 .NET AI Community Standup: Interview Coach Evolves: MAF + GitHub Copilot SDK
youtube.com
We just updated the Interview Coach! Join Bruno Capuano and Justin Yoo to explore the latest evolution of Interview Coach, a .NET sample built with Microsoft...
Editor's note
I pulled together a deliberately varied set today, from WireMock.Net for gRPC testing to XPath queries over Roslyn syntax trees. The wwwroot file-access piece is a useful security reminder, while the EF Core production mistakes article targets problems many teams meet too late. The agent and Copilot entries add practical context to a fast-moving part of the .NET ecosystem.
Today's articles
How to Mock gRPC in .NET with WireMock.Net and Protobuf
medium.com
TL;DR
Topics: gRPC Unit Testing
Read article.NET Aspire Integration Testing Best Practices for Distributed Applications
medium.com
A while ago, I published an article about ASP.NET Core Integration Testing Best Practices. WebApplicationFactory, TestContainers, and… Continue reading on CodeX »
Topics: .NET Aspire Unit Testing
Read article.NET AI Community Standup: Interview Coach Evolves: MAF + GitHub Copilot SDK
youtube.com
We just updated the Interview Coach! Join Bruno Capuano and Justin Yoo to explore the latest evolution of Interview Coach, a .NET sample built with Microsoft Agent Framework (MAF), now with GitHub Cop...
Topics: GitHub Copilot
Read articleBuild Your Own AI Agent Harness in C#, the MafClaw Live Series
devblogs.microsoft.com
A few weeks ago I wrote about going from dotnet run to a Foundry Hosted Agent in three lines of C#. The feedback was great. Developers liked the deployment story, the managed infrastructure, and espec...
Topics: C#
Read articleWriting A Front End
jesseliberty.com
For the past six weeks I’ve been developing my demonstration program as a console application. Today I decided to give it a nice front end using Blazer (I don’t know Blazer). In the time it took to li...
Topics: Blazor
Read articleMastering the Decorator Pattern in ASP.NET Core applications
medium.com
Add caching, logging, or retry to a service without touching the service — wrap it. The decorator pattern in ASP.NET Core, made painless…
Topics: ASP.NET Core Design Patterns
Read articleBest Practices for High-Performance .NET Web APIs
medium.com
In today’s software development landscape, building high-performance APIs is essential for providing users with a fast, reliable, and…
Topics: Performance Web API
Read articleSpec Driven Development
jesseliberty.com
I am totally blown away by the combination of Spec Kit and Copilot. It is one thing to read about SDD (Spec Driven Development) and quite another to build with it I installed Spec Kit and pointed Copi...
Topics: GitHub Copilot
Read articleTypeSafe's Jev AI Model in .NET: A Community SDK for Structured AI Output in C#
laurentkempe.com
Most AI tooling I've used in the last couple of years follows the same pattern. You send a prompt, get back text, and then write brittle code to turn that text into something your app can actually use...
Topics: C#
Read articleFrom Specialist Agents to Distributed Skills over MCP
devblogs.microsoft.com
Keep your domain services distributed. Move the specialist's instructions, not another model, into the orchestrator. A multi-agent system often starts with a straightforward design: one agent understa...
Topics: C#
Read articleProtecting File Access in the wwwroot Folder in ASP.NET
weblog.west-wind.com
In many of my applications I have a few files that are dynamically created as part of administrative tasks. These files tend to be cumulative and contain data that can be accessed directly from the fi...
Topics: ASP.NET Core Authorization Security
Read articleNo, You Really Don't Need MediatR in .NET
youtube.com
Online Workshop: Vibe Coding for Production: https://dometrain.com/workshop/vibe-coding-for-production/?ref=nick-chapsas&promo=mail-list&coupon_code=3YEARS Get every Dometrain 40% off with code 3YEARS...
Topics: MediatR
Read articleQuerying Roslyn syntax trees with XPath
meziantou.net
In , I showed that XPathNavigator is not tied to XML. Any tree can be exposed as a node-set, and the XPath engine of System.Xml.XPath does the rest. That post used a folder hierarchy as an example. He...
Topics: Roslyn
Read articleEntity Framework Core Performance: 10 Mistakes I Keep Seeing in Production Code
medium.com
Entity Framework Core makes database access feel deceptively simple. You write a LINQ query, call ToListAsync(), get your objects back and… Continue reading on CodeToDeploy »
Topics: EF Core Performance
Read articleSteering the Vibe: Worktrees
staffordwilliams.com
After failing a number of times to implement worktrees, I got over my frustration and made it happen. The result was a huge productivity multiplier, though not without solving some tricky problems. In...
Topics: GitHub GitHub Copilot
Read articleClaude Code with Gui Ferreira
unhandledexceptionpodcast.com
In this episode, I was joined again by Gui Ferreira - who was last on the show back in episode 78 talking about goals and time management. This time we're talking AI, and specifically a deep dive into...
Topics: C#
Read article