Profiling, caching, async internals
A varied .NET mix covering profiling-first performance work, Postgres distributed caching on Azure, Hangfire tuning, Kafka consumers, and memory internals.
Jasen's top three picks
- 1 C# / .NET Performance: Why Is It Slow 'Here' and What Should You Optimize First?
pietschsoft.com
A good reminder that measurement beats folklore, especially when premature fixes target the wrong bottleneck entirely.
- 2 C# / .NET: The Cleanest Way to Introduce a New Cross-Cutting Concern
pietschsoft.com
Cross-cutting concerns are where architecture gets messy fast, so I appreciate patterns that keep the core model readable.
- 3 High-Performance Distributed Caching with .NET and Postgres on Azure
devblogs.microsoft.com
Useful if you want concrete distributed caching guidance without leaving the .NET plus Azure stack.
Editor's note
I kept this issue deliberately mixed, which is usually where the most useful combinations show up. The profiling-first performance piece is a strong reset for anyone jumping to micro-optimizations too early, and the Postgres distributed caching write-up is practical architecture guidance with real Azure relevance. I also liked the pair of async and multithreading internals articles because they help explain behavior that many teams use every day but rarely inspect closely.
Today's articles
C# / .NET Performance: Why Is It Slow 'Here' and What Should You Optimize First?
pietschsoft.com
You open a profiler, squint at the code, and ask: “Why is this slow?” Before you even finish the thought, someone — or an AI assistant — suggests switching from List<T> to Span<T>, or inlining a...
Topics: C# Performance Profiling
Read articleC# / .NET: The Cleanest Way to Introduce a New Cross-Cutting Concern
pietschsoft.com
Logging, validation, caching, retries, authorization, telemetry, auditing. Every non-trivial .NET application accumulates cross-cutting concerns — behavior that applies broadly but doesn’t belong in t...
Topics: C# Design Patterns
Read articleHigh-Performance Distributed Caching with .NET and Postgres on Azure
devblogs.microsoft.com
Adding caching to your application architecture can significantly improve key performance metrics, cut latency, and reduce load across downstream systems. In this walkthrough, we highlight the latest ...
Topics: Azure Performance PostgreSQL
Read articleInside Multithreading: Memory Layout and Kernel Execution
medium.com
Kernel Executing Code — Why Page faults, TLB Mises, False Sharing
Topics: C# Performance
Read articleScaling Background Jobs in .NET: How We Tuned Hangfire Workers for High-Load Processing
medium.com
In modern .NET applications, background job processing plays a key role in handling long-running tasks such as document processing, email…
Topics: C# Performance
Read articleRock Your Code: I Let AI Build a Visual Studio Extension—Here’s What REALLY Happened
dotnettips.com
In March 2026, I challenged GitHub Copilot to build a Visual Studio extension, "Version Sync," from scratch without coding. Despite initial failures and needing extensive feedback, it succee...
Topics: GitHub Copilot Visual Studio
Read articleStop Guessing How .NET Manages Memory
medium.com
A practical guide to Stack, Heap, Garbage Collection, generations, SOH, LOH, and why your app might throw OutOfMemoryException even when…
Topics: C# Performance
Read articleManaged vs Unmanaged Code: Why it matters in .NET development
alimumtaz205.medium.com
Ever wondered why you do not have to worry about memory leaks in C# most of the time, while a C++ developer has to spend a lot of time…
Read articleKafka Consumer Group Pattern in .NET: A Simple Guide with a Real-World Example
malshikay.medium.com
When building applications with Apache Kafka, one of the most powerful patterns is the Consumer Group Pattern.
Read article.NET 11 vs .NET 10 — Faster, Smarter, and Quietly Powerful
medium.com
Every year, Microsoft pushes .NET forward — and this time, .NET 11 is shaping up to be less about hype… and more about serious refinement.
Topics: .NET 10
Read articleWelcome to Azure Cosmos DB Conf 2026
devblogs.microsoft.com
Today is the day. Azure Cosmos DB Conf 2026, in partnership with AMD, is a free virtual developer event focused on building modern, scalable applications with Azure Cosmos DB. The
Read articleDependency Injection in C# — Complete Guide with Real Examples (Constructor + Setter + Method)
medium.com
If you’re building scalable .NET applications, Dependency Injection (DI) is not optional — it’s foundational.
Topics: C# Design Patterns
Read article.NET Threads, Tasks & async/await — What Actually Happens Under the Hood
wiemksaier.medium.com
Most developers use async/await daily.
Topics: C# Performance
Read article