performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1396 articles Updated Page 7 of 56
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 7 of 56
Newest first
-
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?
-
Just Use Postgres as a Queue?
codeopinion.com Issue #443
I’ve noticed a trend, and a lot of people are saying the same thing: just use Postgres as a queue. No Kafka, no Redis, no RabbitMQ, just one database for everything. And I totally get it. I get the ap...
-
AI in .NET: Why Most Implementations Stall and How to Build Systems That Actually Scale
aindotnet.medium.com Issue #443
AI adoption is growing fast but real impact still feels slow.
-
EF Core Performance - N+1, Cartesian Explosion and How to Fix Both
medium.com Issue #443
ZZZ Projects’ EF Core Extensions Struggling with slow EF Core operations? Boost performance like never before. Experience up to 14× faster…
-
Removing byte[] allocations in .NET Framework using ReadOnlySpan
andrewlock.net Issue #442
In this post I describe how to remove static byte[] allocations, even on .NET Framework, by using Span
-
HTTP/3 and QUIC: The Next Generation of .NET Web Performance
medium.com Issue #442
Understanding why the fastest websites are moving beyond TCP and how to implement HTTP/3 in your .NET applications today
-
The Real Cost of Returning the Identity Value in EF Core
antondevtips.com Issue #442
Learn why EF Core SaveChanges becomes slow when inserting thousands of rows when returning identity values and how BulkInsert and BulkInsertOptimized from Entity Framework Extensions deliver up to 23x
-
Smart Query Splitting in Entity Framework Core: SmartSplitQueryInterceptor
blog.peakcyber.com Issue #441
One of the most common dilemmas when developing with Entity Framework Core (EF Core) is deciding whether to use Single Query or Split… Continue reading on PeakCyber Technologies »
-
Insane Performance Boost in EF Core using Entity Framework Extensions
medium.com Issue #441
ZZZ Projects’ EF Core Extensions Struggling with slow EF Core operations? Boost performance like never before. Experience up to 14× faster…
-
Difference Between readonly and const in C# with Examples?
c-sharpcorner.com Issue #440
Understand the crucial differences between `readonly` and `const` in C#. Learn when to use each keyword for optimal code clarity, performance, and maintainability in C# applications.
-
Stop Calling .ToList()
serkanozbeykurucu.medium.com Issue #439
There’s a line of code I keep finding in .NET repositories that looks harmless and costs teams real money.
-
How to Use HttpClientFactory in .NET Core to Avoid Socket Exhaustion
c-sharpcorner.com Issue #439
Learn how to use IHttpClientFactory in .NET Core to prevent socket exhaustion and improve performance. Discover named & typed clients, resilience with Polly, and best practices.
-
EF Core Query Performance — How to Write Fast and Efficient Queries
akash-shah.medium.com Issue #437
Learn projection, AsNoTracking, indexing, and optimization techniques to build high-performance EF Core APIs.
-
I Built a .NET Library for ACH Files — and Made It Much Faster Than the Popular Alternative
medium.com Issue #437
How `ReadOnlySpan<T>`, a `ref struct`, and some simple design decisions made parsing ACH files dramatically faster
-
Resilience in .NET — Polly v8 Retry, Circuit Breaker, and Timeout Patterns
medium.com Issue #437
Polly v8 rewrote the entire API and most tutorials are now outdated. Here is the complete production guide to the new ResiliencePipeline —…
-
Difference Between yield return and return in C# with Examples?
c-sharpcorner.com Issue #437
Unlock the power of C#! Discover the difference between `return` and `yield return` for efficient data handling. Learn when to use each for optimized memory and performance in your applications. Maste...