Home Archive GC internals, Minimal APIs, MCP agents – .NET News Daily Issue #455 (May 14, 2026)

Editor's note

I kept this issue deliberately mixed, which is usually where the most useful surprises show up. The CLR memory and GC piece is a strong refresher before you reach for a profiler, and the controllers-to-Minimal-APIs migration guide is practical for teams modernizing existing ASP.NET Core apps. I also liked the MCP agents article because it shows how quickly AI tooling is becoming relevant to everyday C# work.

GC internals, Minimal APIs, MCP agents

100+ Claude Code hacks to ship code 10X faster

Top engineers at Anthropic say AI now writes 100% of their code.

Are you using AI to write yours?

These 100+ Claude Code hacks show you exactly how. Sign up for The Code and get:

  • 100+ Claude Code hacks — free

  • The Code newsletter — learn the latest AI tools and skills to code faster in 5 mins a day

Enjoying the newsletter? Your feedback helps us grow and reach more developers.

Share your testimonial →

Today's Articles

How do I inform Windows that I'm writing a binary file?

https://devblogs.microsoft.com/oldnewthing/20260504-00/?p=112296

A customer wanted to know how to inform Windows that they were opening a file in text mode, as opposed to binary mode. That way, Windows can perform text conversions as necessary, like adding carriage...

Article preview

Introducing Apache Arrow Support in mssql-python

https://devblogs.microsoft.com/python/introducing-apache-arrow-support-in-mssql-python/

mssql-python now supports fetching SQL Server data directly as Apache Arrow structures - a faster and more memory-efficient path for anyone working with SQL Server data in Polars, Pandas, DuckDB, or a...

Article preview

MCP Magic: Building Tool-Enabled AI Agents with C#

https://visualstudiomagazine.com/articles/2026/05/07/mcp-magic-building-tool-enabled-ai-agents-with-csharp.aspx

Rockford Lhotka previews his Visual Studio Live! San Diego session, "MCP Magic," and explains why the Model Context Protocol is becoming a key building block for AI agents. In this Q&A, ...

Article preview

Memory, GC & the CLR — What Every .NET Performance Engineer Must Know

https://medium.com/@satnamgoldi/memory-gc-the-clr-what-every-net-performance-engineer-must-know-138684da9ec3?source=rss------dotnet-5

Before you open a profiler, before you start tuning code, you need to understand what’s actually happening under the hood.

Article preview

Pattern matching in C#: Advanced scenarios you didn't know

https://blog.elmah.io/pattern-matching-in-c-advanced-scenarios-you-didnt-know/

table of contents Pattern matching is not just condition checking. It reflects how you think as a developer. Matching and validation can be achieved in a naive, descriptive way. However, a cleaner app...

Article preview

10 Hidden Features in C# That Will Make You a Better Developer

https://blog.stackademic.com/10-hidden-features-in-c-that-will-make-you-a-better-developer-63ad802aaffa?source=rss------csharp-5

Most developers learn the basics of C# and stop at classes, loops or maybe a bit of LINQ. But C# has evolved a lot over the years and many… Continue reading on Stackademic »

Article preview

Simple Multithreading in C# with a Practical Example (.NET 10)

https://medium.com/@feldyjudahk/simple-multithreading-in-c-with-a-practical-example-net-10-1af4495d2799?source=rss------dotnet-5

Multithreading is a fundamental concept in modern programming that allows applications to perform multiple operations concurrently.

Article preview

How to migrate from controllers to Minimal APIs

https://www.roundthecode.com/dotnet-tutorials/how-to-migrate-controllers-to-minimal-apis

Learn why Minimal APIs are now recommended in .NET and follow a step-by-step guide to migrate from controllers to Minimal APIs with versioning and Swagger. The page How to migrate from controllers to ...

Article preview

Enforcing trust and transparency: Open-sourcing the Azure Integrated HSM

https://azure.microsoft.com/en-us/blog/enforcing-trust-and-transparency-open-sourcing-the-azure-integrated-hsm/

As cloud workloads become more agentic and AI systems handle increasingly sensitive data, trust must be engineered directly into infrastructure. Azure Integrated HSM brings hardware‑enforced key prote...

Article preview

How do I have an image for my Entity?

https://blog.jermdavis.dev/posts/2026/content-hub-entity-image

I've been spending some time setting up some custom Entities in Content Hub recently. I bumped up against an issue with one feature where it took me a while to find the right info to make it work the ...

Article preview

How To Use Domain-Driven Design In Clean Architecture

https://medium.com/@mariammaurice/how-to-use-domain-driven-design-in-clean-architecture-6b21de280cd8?source=rss------dotnet-5

A Practical Guide for .NET 10 Developers Building Enterprise-Grade Systems

Article preview

What We Lost the Last Time Code Got Cheap

https://www.poppastring.com/blog/what-we-lost-the-last-time-code-got-cheap

I worked at a startup in Toledo called Heartland Information Services. We provided transcription services to some of the biggest hospitals in the United States, and we weren't small. Heartland was one...

Article preview

Difference Between ValueTask and Task in C# with Performance Use Cases?

https://www.c-sharpcorner.com/article/difference-between-valuetask-and-task-in-c-sharp-with-performance-use-cases/

Explore Task vs. ValueTask in C# async programming. Learn when to use ValueTask for performance gains by minimizing memory allocation in high-throughput scenarios. Task is simpler and safer!

Article preview

I Built My Own Cross-Platform Media Player

https://medium.com/mr-plan-publication/i-built-my-own-cross-platform-media-player-2d23d38a2ebf?source=rss------csharp-5

For a long time, media players felt like one of those things that already existed. Continue reading on Mr. Plan ₿ Publication »

Article preview

Jasen's take on today's picks

How do I inform Windows that I'm writing a binary file?

A classic Raymond Chen clarification that untangles text-vs-binary assumptions at the OS boundary.

Introducing Apache Arrow Support in mssql-python

Not .NET-specific, but useful if you move SQL Server data into analytical pipelines and care about transfer efficiency.

MCP Magic: Building Tool-Enabled AI Agents with C#

Worth a look if you're tracking where C# fits in agent tooling and MCP-based integration patterns.

Memory, GC & the CLR — What Every .NET Performance Engineer Must Know

Good foundational performance reading; understanding GC mechanics pays off before any benchmark or profiler session.

Pattern matching in C#: Advanced scenarios you didn't know

Pattern matching keeps getting more expressive, and articles like this help surface features many teams still underuse.

10 Hidden Features in C# That Will Make You a Better Developer

A mixed bag list, but these kinds of posts often uncover one or two language features even experienced developers forgot about.

Simple Multithreading in C# with a Practical Example (.NET 10)

Intro-level concurrency content, but still helpful for newer developers getting comfortable with practical threading concepts.

How to migrate from controllers to Minimal APIs

Useful modernization guidance, especially if you're weighing endpoint simplicity against existing controller conventions.

Enforcing trust and transparency: Open-sourcing the Azure Integrated HSM

Interesting infrastructure security item: open-sourcing HSM components is notable for trust, reviewability, and key management conversations.

How do I have an image for my Entity?

A niche but practical how-to for anyone working with Content Hub entity customization.

How To Use Domain-Driven Design In Clean Architecture

A familiar architectural pairing, but still relevant when teams need a pragmatic DDD starting point.

What We Lost the Last Time Code Got Cheap

More industry reflection than tutorial, but the perspective on software economics is worth reading.

Difference Between ValueTask and Task in C# with Performance Use Cases?

A solid performance-oriented async refresher: ValueTask helps in the right hotspots, but misuse adds complexity.

I Built My Own Cross-Platform Media Player

Always interesting to see real cross-platform app builds, especially when media playback is involved.

Related issues

📬 Get daily .NET content delivered to your inbox