performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1396 articles Updated Page 17 of 56
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 17 of 56
Newest first
-
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.
-
The Hidden Performance Cost of “Clean Code” in Large .NET Systems
medium.com Issue #354
1. The Myth of “Clean Code Is Always Better” Continue reading on CodeToDeploy »
-
Using Redis and Redis Stack with .NET — A Practical, Production‑Ready Guide
medium.com Issue #353
Audience: .NET developers building high‑performance, scalable systems Level: Intermediate → Advanced Format: Medium‑style long‑form…
-
Day 6: Indexing in Entity Framework
medium.com Issue #353
You’ll find that any foreign keys that get created get automatically indexed. This creation will be found in your migration. But, what if…
-
Latency Is a Feature, Not a Bug
medium.com Issue #352
Designing APIs for Perceived Performance in ASP.NET Core
-
One Minute Knowledge: Is ToArrayAsync or ToListAsync faster for Entity Framework?
steven-giesel.com Issue #352
Short question, and a short answer: ToListAsync - but why?
-
LINQ in Real Projects: 7 Patterns Every C# Developer Should Know
towardsdev.com Issue #352
Most developers only use LINQ for .Where() and .Select(). Continue reading on Towards Dev »
-
Streaming vs Buffering in .NET APIs — The Performance Difference Nobody Measures
medium.com Issue #351
(And why your “fast” API falls apart under real load)
-
Stop Using IMemoryCache in .NET 10: The HybridCache Revolution
medium.com Issue #351
Why your custom Redis wrapper is killing your performance — and how to fix it.
-
-
The Core Architects’ Guide to 400% Faster APIs in .NET 10
medium.com Issue #350
As core architects, we know that the difference between a functional API and a high-performing one can be staggering. In fact, our recent…
-
How I Built a Self-Healing Service Using Retries, Circuit Breakers, and Smart Backoff
medium.com Issue #350
A hands-on guide to resilience patterns with examples from a production environment. Continue reading on CodeX »