.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1407 articles Updated Page 17 of 57
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
.NET Performance and Optimization articles
Page 17 of 57
Newest first
-
EF Core, Ad-Hoc Queries, and Plan Cache Pollution
medium.com Issue #365
How usecounts Reveals Hidden Performance Problems
-
Channels in C# .NET: Building High-Performance Concurrent Pipelines
medium.com Issue #365
Concurrency is one of those topics that looks simple on the surface and becomes painful in real systems. Threads, locks, queues, and…
-
Reduce GitHub Actions runner CPU usage
meziantou.net Issue #365
If you're using self-hosted GitHub Actions runners, you might have noticed they can be surprisingly CPU-intensive, even when idle. A closer look reveals that a single runner can peg a CPU core at 100%...
-
.NET 10 & C# 14: Less Code, Better Performance
medium.com Issue #365
.NET 10 and C# 14 are out, delivering practical improvements that make code cleaner and data processing faster. Unlike some releases…
-
Leveraging Span-Based String Concatenation for Improved Performance
dotnettips.wordpress.com Issue #365
The excerpt from "Rock Your Code" emphasizes the importance of efficient string concatenation in .NET. It highlights the advantages of using the Span type over traditional methods, demonstra...
-
Value Types and Reference Types in C#
c-sharpcorner.com Issue #365
Unlock C# mastery! This guide clarifies value vs. reference types, impacting memory, performance, and bug prevention. Essential for efficient .NET development.
-
3x Faster, 99.9% Less Memory: Optimizing .NET String Processing
medium.com Issue #361
I recently optimized a simple log parsing function and the results shocked me: Continue reading on .Net Programming »
-
Hybrid Cache & Output Caching in .NET: A Game Changer for High-Performance Applications
c-sharpcorner.com Issue #361
This article explains how Hybrid Caching and Output Caching in ASP.NET Core (.NET 10) significantly boost application performance, reduce database load, enhance scalability, and improve system resilie...
-
The C# ‘Best Practice’ that is secretly killing your API performance
medium.com Issue #361
The “Best Practice” that is secretly exhausting your server’s sockets. Continue reading on Readers Club »
-
-
Digital Essentialism in .NET: How Verdict is Redefining the Result Pattern
baryodev.medium.com Issue #360
In the world of high-performance .NET development, the “Result Pattern” has officially arrived. It’s the preferred way to handle domain…
-
Redis Cache Patterns Explained: Cache-Aside vs Read-Through vs Write-Through vs Write-Behind
c-sharpcorner.com Issue #360
Learn the four main Redis caching patterns, how they work, their pros and cons, and which pattern you should use in real production systems. Written for architects and senior developers.
-
.NET R&D Digest (December, 2025)
olegkarasik.wordpress.com Issue #360
This issue includes bits of AI, vibe-coding, DDD, performance, software development, testing, C#, MSBuild, diagnostics, DevOps, and of course .NET, .NET Internals and something to watch.
-
Task.Delay fails if you wait longer than 49.7 days
steven-giesel.com Issue #359
Task.Delay fails if you wait longer than 49.7 days. So something like: await Task.Delay(TimeSpan.FromDays(50)); will fail. But why and should you care?
-
The best VS Code feature you aren't using
youtube.com Issue #359
How to Fix Slow LINQ Queries: Real Performance Lessons from Real Projects
-
ToList() vs ToArray() in C#: The Performance Guide Every Developer Needs
towardsdev.com Issue #358
Most .NET developers default to ToList() without knowing it wastes 24–31% more memory. Here’s when to use ToArray() instead. Continue reading on Towards Dev »
-
Building Your Own Mediator Pattern in Modern .NET
medium.com Issue #358
I demonstrate how to build a custom implementation of the mediator pattern. Complete with a pipeline, notifications, and performance.
-
How to Build a High-Performance Cache Without External Libraries
milanjovanovic.tech Issue #358
Learn how to build a high-performance cache from scratch in .NET, moving from a simple ConcurrentDictionary to an optimized keyed-locking system. This deep dive explores how to master concurrency patt...
-
C# Channels Explained — From Producer-Consumer Basics to High-Performance .NET Systems
medium.com Issue #357
C# Channels provide a precise way to control flow, apply backpressure, and coordinate async work inside high-traffic .NET applications.
-
Implementing Large File Uploads and Downloads in Azure Blob Storage With .NET
antondevtips.com Issue #357
Learn how to get started with Azure Storage Account, how to create an account, enable anonymous file access and create blob storage. Learn how to implement efficient large file uploads and downloads i
-
IEnumerable vs IQueryable in .NET: A Performance Perspective
medium.com Issue #356
One of the most overlooked performance decisions in .NET applications happens quietly — right at the LINQ interface level.
-
This One Line of ASP.NET Core Code Allocates More Than You Think
medium.com Issue #356
(And why your API burns memory before business logic even starts) Continue reading on Towards Dev »
-
EF Core Bulk Data Retrieval: 5 Methods You Should Know
antondevtips.com Issue #355
Learn how to efficiently retrieve large datasets in Entity Framework Core without hitting SQL Server's 2,100 parameter limit. Discover 5 bulk data retrieval methods from Entity Framework Extensions th
-
New in .NET 10 and C# 14: Optimizations in log aggregation jobs
blog.elmah.io Issue #355
.NET 10 is officially out, along with C# 14. Microsoft has released .NET 10 as Long-Term Support (LTS) as a successor to .NET 8. Like every version, it is not just an update but brings something new t...
-
How yield return Reduces Memory by 90% in C#
dominika-sikorska.medium.com Issue #354
How stateful iteration cuts memory usage by 90% in .NET — with real-world code examples and performance benchmarks.