performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1586 articles Updated Page 24 of 64
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 24 of 64
Newest first
-
How to Build High-Performance Microservices Using .NET 10?
Medium Issue #362
Today’s digital products need to be fast, stable, and ready to grow. Users expect applications to load quickly, work smoothly, and stay…
-
How to Read Excel Files with C#
Medium Issue #362
This article walks you through a simple, high-efficiency solution to read Excel files with C# (no Office installation required).
-
Swapping two blocks of memory that reside inside a larger block, in constant memory
Microsoft Dev Blogs Issue #362
Suppose you have a large block of memory, and you want to swap two blocks that reside inside that large block. For concreteness, say you have a block of memory of the form A1, A2, B1, B2, C1, C2, D1, ...
-
Microservices Design Patterns in .NET That Actually Survive Production
Medium Issue #362
Most .NET microservices failures are not caused by bad frameworks or tooling. They fail because architectural patterns are applied…
-
EF Core, Ad-Hoc Queries, and Plan Cache Pollution
Medium Issue #365
How usecounts Reveals Hidden Performance Problems
-
Channels in C# .NET: Building High-Performance Concurrent Pipelines
Medium 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's blog 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 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
WordPress 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# Corner 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 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# Corner 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 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
Medium 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# Corner 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)
WordPress 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 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 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 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
Milan's .NET Weekly 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 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
Dev Tips 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 Issue #356
One of the most overlooked performance decisions in .NET applications happens quietly — right at the LINQ interface level.