performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1586 articles Updated Page 14 of 64
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 14 of 64
Newest first
-
Collection Performance: AddRange() vs. InsertRange() When Populating Lists
dotnettips.com Issue #454
When populating collections in .NET, choosing the right bulk operation improves both clarity and efficiency. Methods like AddRange() and InsertRange() allow multiple items to be added in a single call...
-
High-performance distributed caching with .NET
csharpdigest.net Issue #452
when the in-memory cache expires the database cache keeps things fast
-
Three EF Core Bugs That Quietly Kill Production .NET Apps (And How to Catch Them Early)
medium.com Issue #452
A field guide for .NET teams who’ve outgrown “it works on my machine” — covers EF Core 8, 9, and 10
-
Thread Pool Exhaustion in ASP.NET: The Async Database Trap
blog.dotnetframework.org Issue #452
If you’ve ever migrated a working ASP.NET application from synchronous database calls to async, and suddenly found yourself hitting connection pool timeouts under load, you’ve likely fallen into one o...
-
From Allocation to Iteration: Optimizing Your Collections in .NET
medium.com Issue #451
When working with collections in .NET, developers often overlook one of the most impactful optimization techniques: initializing a List<T>…
-
C# / .NET Performance: Why Is It Slow 'Here' and What Should You Optimize First?
pietschsoft.com Issue #449
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...
-
High-Performance Distributed Caching with .NET and Postgres on Azure
devblogs.microsoft.com Issue #449
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 ...
-
Inside Multithreading: Memory Layout and Kernel Execution
medium.com Issue #449
Kernel Executing Code — Why Page faults, TLB Mises, False Sharing
-
Scaling Background Jobs in .NET: How We Tuned Hangfire Workers for High-Load Processing
medium.com Issue #449
In modern .NET applications, background job processing plays a key role in handling long-running tasks such as document processing, email…
-
Stop Guessing How .NET Manages Memory
medium.com Issue #449
A practical guide to Stack, Heap, Garbage Collection, generations, SOH, LOH, and why your app might throw OutOfMemoryException even when…
-
.NET Threads, Tasks & async/await — What Actually Happens Under the Hood
wiemksaier.medium.com Issue #449
Most developers use async/await daily.
-
Common Async/Await Bug in C# (That Only Shows Up in Production)
medium.com Issue #448
The Async/Await Bug That Took Down Our API (And Why Local Tests Didn’t Catch It)
-
🚀 Integrating Hangfire into .NET 9 Applications
c-sharpcorner.com Issue #448
Master background task management in .NET 9 with Hangfire! This tutorial covers setup, job creation, security, monitoring, and best practices for reliable background processing.
-
You’re Copying Data in C# Without Knowing It (And It’s Costing You 35% Performance)
medium.com Issue #448
(And it’s silently killing your performance)
-
LINQ Looks Clean Until You Care About Performance
medium.com Issue #448
LINQ is great. Until it isn’t.
-
Your Program Is Living a Lie About Memory
medium.com Issue #448
Everything you think you know about how your process uses RAM is mediated by a beautifully crafted illusion — Virtual Memory.
-
How I accidentally made the fastest C# CSV parser
csharpdigest.net Issue #447
a fast CSV parser can locate field boundaries in one pass
-
-
Mastering High-Concurrency: Building a Thread-Safe Configuration Service in .NET
naved-shaikh.medium.com Issue #447
In high-frequency financial environments — like those I’ve navigated throughout my 15+ years in engineering — system stability often…
-
Developing a cross-process reader/writer lock with limited readers, part 1: A semaphore
devblogs.microsoft.com Issue #447
Say you want to have the functionality of a reader/writer lock, but have it work cross-process. The built-in SRWLOCK works only within a single process. Can we build a reader/writer lock that works ac...
-
Caching a geo-restricted app without the cache exploding
melkisetoglu.medium.com Issue #446
A small .NET pattern that’s really just a small idea — and works in any web stack.
-
Newtonsoft.Json vs System.Text.Json Which Should You Use in .NET?
medium.com Issue #444
If you’ve worked with JSON in .NET, you’ve probably seen two different ways to handle it:
-
C# Dotnet collection internals — Dictionary
medium.com Issue #444
Core Structures — Dictionary< TKey, TValue >
-
What is the difference between struct and class in C# with performance comparison?
c-sharpcorner.com Issue #444
Unlock C# performance! Explore struct vs. class differences: memory, speed, and use cases. Optimize your .NET apps with the right choice for efficiency.
-
C# Dotnet collection internals — Queue
medium.com Issue #444
How queues use arrays, circular buffer internally?