Legacy modernization and .NET performance
A varied .NET roundup on modernization, caching, microservices, performance tuning, Roslyn analyzers, and AI tooling for real-world teams.
Jasen's top three picks
- 1 Beyond the Rewrite: A Lead Developer’s Guide to Modernizing Legacy .NET & Angular System
medium.com
A practical modernization guide instead of a big-bang rewrite plan.
- 2 String Performance: The Fastest Way to Get a String’s Length
dotnettips.wordpress.com
A nice reminder that string micro-benchmarks can still surprise you.
- 3 Caching Strategies Explained: How Big Apps Stay Fast in India and Globally
c-sharpcorner.com
Caching still earns its keep when scale and latency start hurting.
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.
Today's articles
Beyond the Rewrite: A Lead Developer’s Guide to Modernizing Legacy .NET & Angular System
medium.com
Every developer eventually meets a legacy system that has quietly powered the business for years, reliable for customers, painful for…
Topics: Azure Clean Architecture .NET Core
Read articleString Performance: The Fastest Way to Get a String’s Length
dotnettips.wordpress.com
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.
Topics: Benchmarking C# Performance
Read articleCaching Strategies Explained: How Big Apps Stay Fast in India and Globally
c-sharpcorner.com
Discover how caching strategies power lightning-fast apps like Instagram & YouTube. Essential for backend developers in India & globally to build scalable systems.
Topics: Azure Performance Redis
Read articleWhy I Simplified Clean Architecture Without the Repository Pattern (using EF core)
joehom0416.medium.com
Introduction
Topics: Clean Architecture .NET Core EF Core
Read articleIntroducing the Azure Cosmos DB Agent Kit: Your AI Pair Programmer Just Got Smarter
devblogs.microsoft.com
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...
Topics: Azure Cosmos DB GitHub Copilot
Read articleMicroservices Architecture with .NET
c-sharpcorner.com
Explore microservices architecture with .NET! Learn to build scalable, flexible apps using ASP.NET Core, Docker, and best practices. Includes practical examples.
Topics: Clean Architecture Docker .NET Core
Read article✨ Prompt Engineering Never Dies ✨
c-sharpcorner.com
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!
Topics: ML.NET OpenAI Semantic Kernel
Read articleExposing an AI Agent as an MCP Tool in .NET
medium.com
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 »
Topics: .NET Core ML.NET OpenAI
Read articleThe Outbox Pattern: Solving the Dual Write Problem in Microservices
azizollahi.medium.com
Consistency is not optional. Learn how to guarantee message delivery when your database transaction commits.
Topics: Clean Architecture Event Sourcing Service Bus
Read articleAddTransient vs AddScoped vs AddSingleton in .NET Core (With Examples)
medium.com
Dependency Injection (DI) is a core feature of .NET Core. It helps create loosely coupled, testable, and maintainable applications.
Topics: C# Design Patterns .NET Core
Read articleMaking foreach on an IEnumerable allocation-free using reflection and dynamic methods
andrewlock.net
In this post I describe why foreach sometimes allocates, and show how you can use DynamicMethod and Reflection.Emit to go allocation-free
Topics: C# .NET Core Performance
Read articleHow to Remove Specific or Blank Pages from Word Using C# (A Step-by-Step Guide)
medium.com
When working with Word documents, one problem we often encounter is unwanted pages — blank pages at the end of a report, cover pages we…
Read articleCreate your own Roslyn Analyzer !!
medium.com
As the title indicates, today we are going to talk about code analyzers and more precisely Roslyn Analyzers, the famous .net compiler. The…
Topics: C# .NET Core Performance
Read articleLINQ in Production: The Mistakes That Cost Hours (And How to Fix Them) Part(2/2)
medium.com
You’ve Shipped LINQ to Production. Now What?
Read article