Home Archive Legacy modernization and .NET performance – .NET News Daily Issue #380 (Jan 29, 2026)

Editor's note

I pulled together a deliberately mixed issue today: legacy modernization, performance work, and a few architecture pieces. The Cosmos DB Agent Kit story stood out for practical AI-assistant support, and the outbox pattern article is a solid reminder that reliable messaging still matters. There’s also enough low-level tuning here to keep the performance-minded readers busy.

Legacy modernization and .NET performance

In partnership with

What makes a great ad in 2026?

If you want to know the core principles of high-performing advertising in 2026, join our educational webinar with award-winning creative strategist Babak Behrad and Neurons CEO & Founder Thomas Z. Ramsøy.

They’ll show you how standout campaigns capture attention, build memory, and anchor brands. You’ll walk away with clear, practical rules to apply to your next campaign.

You’ll learn how to:

  • Apply neuroscientific principles to every campaign

  • Build powerful branding moments into your ads

  • Make your ads feel relevant to your audience

Master the art of high-impact campaigns in an era of AI-generated noise and declining attention spans

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

Share your testimonial →

Today's Articles

Beyond the Rewrite: A Lead Developer’s Guide to Modernizing Legacy .NET & Angular System

https://medium.com/@gharshika.23/beyond-the-rewrite-a-lead-developers-guide-to-modernizing-legacy-net-angular-system-d2fa96cf9fbf?source=rss------dotnet-5

Every developer eventually meets a legacy system that has quietly powered the business for years, reliable for customers, painful for…

Article preview

String Performance: The Fastest Way to Get a String’s Length

https://dotnettips.wordpress.com/2026/01/25/string-performance-the-fastest-way-to-get-a-strings-length/

Retrieving the character count of a string in .NET has various methods: using Span with Length, Length, or Enumerable.Count(). This article will prove which is the fastest method.

Article preview

Caching Strategies Explained: How Big Apps Stay Fast in India and Globally

https://www.c-sharpcorner.com/article/caching-strategies-explained-how-big-apps-stay-fast-in-india-and-globally2/

Discover how caching strategies power lightning-fast apps like Instagram & YouTube. Essential for backend developers in India & globally to build scalable systems.

Article preview

Why I Simplified Clean Architecture Without the Repository Pattern (using EF core)

https://joehom0416.medium.com/why-i-simplified-clean-architecture-without-the-repository-pattern-using-ef-core-cc7751660ea7?source=rss------dotnet-5

Introduction

Article preview

Introducing the Azure Cosmos DB Agent Kit: Your AI Pair Programmer Just Got Smarter

https://devblogs.microsoft.com/cosmosdb/azure-cosmos-db-agent-kit-ai-coding-assistants/

The Azure Cosmos DB Agent Kit is an open-source collection of skills that teaches your AI coding assistant (GitHub Copilot, Claude Code, Gemini CLI) expert-level Azure Cosmos DB best practices. Instal...

Article preview

Microservices Architecture with .NET

https://www.c-sharpcorner.com/article/microservices-architecture-with-net/

Explore microservices architecture with .NET! Learn to build scalable, flexible apps using ASP.NET Core, Docker, and best practices. Includes practical examples.

Article preview

✨ Prompt Engineering Never Dies ✨

https://www.c-sharpcorner.com/article/prompt-engineering-never-dies2/

Prompt Engineering isn't dead; it's evolving! This article explains how it's the core of all LLM engineering, from context to system design. It's the spine!

Article preview

Exposing an AI Agent as an MCP Tool in .NET

https://medium.com/@kavathiyakhushali/exposing-an-ai-agent-as-an-mcp-tool-in-net-bfc8ff0aca81?source=rss------dotnet-5

AI agents are powerful, but to make them truly useful in larger applications and tool ecosystems, you need a way for other systems to… Continue reading on GoPenAI »

Article preview

The Outbox Pattern: Solving the Dual Write Problem in Microservices

https://azizollahi.medium.com/the-outbox-pattern-solving-the-dual-write-problem-in-microservices-0d2181c0d148?source=rss------dotnet-5

Consistency is not optional. Learn how to guarantee message delivery when your database transaction commits.

Article preview

AddTransient vs AddScoped vs AddSingleton in .NET Core (With Examples)

https://medium.com/@sachinghadi/addtransient-vs-addscoped-vs-addsingleton-in-net-core-with-examples-1fea6fb36c83?source=rss------dotnet-5

Dependency Injection (DI) is a core feature of .NET Core. It helps create loosely coupled, testable, and maintainable applications.

Article preview

Making foreach on an IEnumerable allocation-free using reflection and dynamic methods

https://andrewlock.net/making-foreach-on-an-ienumerable-allocation-free-using-reflection-and-dynamic-methods/

In this post I describe why foreach sometimes allocates, and show how you can use DynamicMethod and Reflection.Emit to go allocation-free

Article preview

How to Remove Specific or Blank Pages from Word Using C# (A Step-by-Step Guide)

https://medium.com/@alice.yang_10652/how-to-remove-specific-or-blank-pages-from-word-using-c-a-step-by-step-guide-8553f1583d4e?source=rss------csharp-5

When working with Word documents, one problem we often encounter is unwanted pages — blank pages at the end of a report, cover pages we…

Article preview

Create your own Roslyn Analyzer !!

https://medium.com/@ahd.benkheder/create-your-own-roslyn-analyzer-926d0138299a?source=rss------dotnet-5

As the title indicates, today we are going to talk about code analyzers and more precisely Roslyn Analyzers, the famous .net compiler. The…

Article preview

LINQ in Production: The Mistakes That Cost Hours (And How to Fix Them) Part(2/2)

https://medium.com/@mmhaque22/linq-in-production-the-mistakes-that-cost-hours-and-how-to-fix-them-part-2-2-f508e5a0bba6?source=rss------dotnet-5

You’ve Shipped LINQ to Production. Now What?

Article preview

Jasen's take on today's picks

Beyond the Rewrite: A Lead Developer’s Guide to Modernizing Legacy .NET & Angular System

A practical modernization guide instead of a big-bang rewrite plan.

String Performance: The Fastest Way to Get a String’s Length

A nice reminder that string micro-benchmarks can still surprise you.

Caching Strategies Explained: How Big Apps Stay Fast in India and Globally

Caching still earns its keep when scale and latency start hurting.

Why I Simplified Clean Architecture Without the Repository Pattern (using EF core)

A simpler EF Core approach that may fit many teams better.

Introducing the Azure Cosmos DB Agent Kit: Your AI Pair Programmer Just Got Smarter

Useful if you’re experimenting with AI assistants against Cosmos DB.

Microservices Architecture with .NET

Good overview territory if you’re building distributed services in .NET.

✨ Prompt Engineering Never Dies ✨

Prompt engineering as a moving target, not a finished chapter.

Exposing an AI Agent as an MCP Tool in .NET

Interesting bridge between agents and tool ecosystems in .NET.

The Outbox Pattern: Solving the Dual Write Problem in Microservices

The dual-write problem never gets old; the fix still matters.

AddTransient vs AddScoped vs AddSingleton in .NET Core (With Examples)

Clear DI lifetime examples for people teaching or reviewing code.

Making foreach on an IEnumerable allocation-free using reflection and dynamic methods

A deep dive into allocation-free iteration for the curious.

How to Remove Specific or Blank Pages from Word Using C# (A Step-by-Step Guide)

A hands-on Roslyn piece for developers who like compiler tooling.

Create your own Roslyn Analyzer !!

A production LINQ reminder: small mistakes can cost real time.

Related issues

📬 Get daily .NET content delivered to your inbox