You built the audience. Can you reach them?
You can have thousands of people following your work and still need an algorithm’s permission to reach them. Creators know the drill: you post, you pray, you check the numbers, you try again tomorrow.
A newsletter changes that relationship. On beehiiv, you can build a subscriber list you own, reach readers directly, and turn their attention into a sustainable business with subscriptions, sponsors, a global ad network, and more.
Hi everyone,
After last week’s .NET 11 release coverage, this edition gets closer to the work: modeling outcomes in C#, releasing NuGet packages, and investigating applications that are slow or holding on to memory.
Aspire 17 leads the list, followed by two reads I’d put side by side: Anton’s introduction to union types and Milan’s take on the Result pattern. There are also hands-on guides to local AI models, documentation through MCP, and diagnostics grounded in traces, counters, and dumps.
Here’s this week’s reading list.
Aspire team
Aspire 17 updates the dashboard, command line, and deployment tooling. The redesigned resource views and new Terminals page make the dashboard a more capable place to work, while exporting a resource graph as Mermaid gives you something you can carry into documentation.
Kubernetes deployment packages are now stable, with Helm 4 support. Go AppHosts and the tray companion remain in preview. If you already use Aspire, start with the dashboard changes and review the breaking changes before upgrading your AppHost.
Jon Douglas and James Parsons · Microsoft
Staged publishing separates uploading a package from releasing it. You can upload artifacts to NuGet.org, inspect their validation results and metadata, and explicitly promote them when the release is ready. Stage-only credentials also let a build pipeline upload packages without granting it permission to publish them.
Two details to account for in your release process: staged packages cannot be restored, even by their owners, and promoting a group is not atomic. This is a release checkpoint, with testing still happening before promotion.
Anton Martyniuk
Anton starts with a familiar modeling problem: a payment can take several forms, each with its own data. Union types make that fixed set explicit, and the compiler can warn when a switch expression misses a case.
The walkthrough moves from declarations and pattern matching to closed hierarchies, JSON serialization, and ASP.NET Core. It is a good foundation before changing an existing domain model: follow one example through declaration, consumption, and serialization to see what the feature changes beyond its syntax.
Milan Jovanović
Milan takes the next step with a booking example. Turning Result<T> into a union of T and Error preserves the familiar success-or-failure shape, but a single Error type still leaves individual failure codes outside the compiler’s exhaustiveness checks.
Giving each failure its own type changes that tradeoff. The article compares the approaches and explains where compiler warnings help. One practical detail: CS8509 is normally a warning. Teams that want missing switch cases to fail a build need to configure that behavior.
Gérald Barré
A healthy process can still serve a slow page. Gérald builds an orders API with PostgreSQL and a load generator, then gives an agent access to Aspire’s telemetry to investigate the latency.
The interesting part is a gap in the tooling: the MCP response can omit the large trace the investigation needs. The Aspire CLI exposes enough information to find it and inspect its spans. Comparing a slow request with a fast one gives the agent evidence to follow before it reaches for the source code.
NDepend team
NDepend reports finding 45 bugs across Jellyfin, Flow Launcher, Spectre.Console and eShopOnWeb while testing NDepend.AI. The post links its reports and walks through concrete failures, including retry logic that still throws after a retry succeeds.
The testing discussion is especially relevant when you ask an agent to write tests. A test can preserve incorrect behavior if it simply follows what the implementation does. NDepend describes checking findings before reporting them; the examples are a useful prompt for examining whether your own tests establish the intended behavior.
Luis Quintanilla · Microsoft
Llama on Windows, from Hugging Face and the llama.cpp team, provides a desktop route to downloading and running models locally. Luis connects a .NET application to its local OpenAI-compatible endpoint through IChatClient.
The walkthrough uses a C# file-based application and covers streaming responses and tool calls. It gives you a small project for trying local inference on your own hardware, while keeping familiar .NET abstractions. The app’s name does not restrict you to Meta’s Llama models; model choice depends on what it supports and what your machine can run.
Gérald Barré
Large objects in a heap dump are a clue, but they do not establish a leak by themselves. Gérald’s investigation follows retained objects back to their roots and connects the results with memory counters and another dump taken later.
The sample leads to an unbounded static cache. The broader lesson is the sequence of evidence: establish growth, identify what remains alive, then explain why the garbage collector cannot reclaim it. That distinction helps an agent separate retained memory from an application that simply allocates a lot.
Ali Hamza Ansari · elmah.io
Ali builds a console chat application around IChatClient, using Groq through an OpenAI-compatible connection. The example introduces the abstraction, keeps conversation history and streams the response back as it arrives.
This pairs well with the local-model walkthrough above: the application code can work through the same .NET interface while the model runs in a different place. Start here if you want to understand the request-and-response flow before adding AI to a larger application. The example keeps the scope small enough to follow.
Gérald Barré
An application can become unresponsive while the CPU has plenty of room left. Gérald combines runtime counters with a dump to show how blocked workers and queued work reveal thread pool starvation.
The investigation traces the problem to synchronous waits on asynchronous operations. Reading the stacks alongside the counter timeline helps explain what is happening, rather than treating a thread count as a diagnosis. The fix follows the call chain toward asynchronous execution; increasing the number of workers does not remove the underlying blocking.
Edin Kapić · InfoQ
InfoQ covers NetWasm 0.10 and the compiler work behind its reported performance gains, including exception handling, bounds checks, SIMD and division optimizations. It is a change of pace from application tooling, with a closer look at how C# reaches WebAssembly.
The project reports beating Mono AOT in its benchmark set. Those results come from a particular runtime, hardware, and workload setup, so they are a starting point for evaluation. If WebAssembly is on your roadmap, the linked engineering details are where I would spend time.
David Grace · Round The Code
David shows how to add the Microsoft Learn MCP server to Claude Code and use it while working with newer .NET APIs. He also adds guidance in CLAUDE.md so the agent knows when to consult the documentation.
The comparison is useful: without MCP, the agent can still inspect the installed SDK. Documentation provides another route to understanding the API and its intended use. Connecting a server is only part of the setup; the instructions and the evidence the agent actually retrieves matter too.
David Ortinau · Microsoft
David uses BaristaNotes to explore a question facing cross-platform teams: if AI makes separate native interfaces quicker to build, how does that affect the case for a shared UI framework?
The experiment compares a .NET MAUI application with platform-specific interfaces sharing C# code, then looks beyond the initial build to feature changes and verification. The maintenance work is the part to watch. A faster first implementation changes one input to the decision; teams still need to keep multiple interfaces correct as the application evolves.
David Ramel · Visual Studio Magazine
Microsoft’s Copilot SDK 2.0 introduces a shared Rust runtime and supports .NET alongside other languages. David’s overview covers the move toward hosting agents inside applications, with multiple sessions and separate identity, tool, and storage configuration.
For a .NET developer building an agent-backed service, the hosting choices are the practical part: in-process, a child process, or a remote runtime. Session separation helps organize application state, but it should not be confused with an operating-system sandbox for untrusted code. Choose the execution boundary deliberately.
Khalid Abuhakmeh
Khalid closes out the reading list with a reference for try/catch, finally, exception filters, and custom exceptions. He also covers rethrowing an exception while preserving its stack trace, a small choice that can make the next production investigation much easier.
The examples target .NET 10 and C# 14, so these techniques are relevant even if your team has not moved to the latest release. Read this alongside the Result-pattern discussion when reviewing how an application communicates failures and where it can meaningfully recover.
Which would you try first in your own codebase: a union-based result type, local model inference, or an agent-assisted diagnostics workflow?
Thanks for reading,
Get future editions at dotnet.news.
Have an article to suggest? Send it to [email protected].


