performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1624 articles Updated Page 22 of 65
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 22 of 65
Newest first
-
How to Implement Custom Response Caching in ASP.NET Core
C# Corner Issue #393
Boost ASP.NET Core performance with response caching! Learn how to implement it using NCache for scalable, multi-server environments. Reduce latency and server load.
-
ASP.NET MVC vs ASP.NET Core MVC
C# Corner Issue #393
Confused about ASP.NET MVC vs. ASP.NET Core MVC? This guide breaks down the key differences: platform support, performance, project structure, configuration, and more! Learn which is right for you.
-
How to support .NET Framework PDB format and source line with ISymUnmanagedReader
Medium Issue #392
After DIA and DbgHelp, time to dig into ISymUnmanagedReader to get its line in source code.
-
Advanced LINQ Techniques Every C# Developer Should Know
C# Corner Issue #392
Unlock C# LINQ's full potential! Master advanced techniques for efficient querying, performance optimization, and avoiding common pitfalls. Elevate your .NET skills!
-
IEnumerable vs. IQueryable - Understanding the “Where” and “When” of Data
Medium Issue #392
If you’ve spent any time working with C# and LINQ, you’ve likely seen these two interfaces popping up everywhere. At first glance, they…
-
Flatten Arrays and Collections in C#: The Definitive Guide for Fast, Clean Code
Medium Issue #391
If you’ve ever wrangled with multi-dimensional arrays, nested lists, or jagged collections in C#, you know the pain: you just want a…
-
EF Core Code That Works Locally but Fails in Production (part 2)
C# Corner Issue #391
Avoid EF Core production disasters! Learn how to fix common logic and tracking mistakes like improper Any(), First(), and missing AsNoTracking() for optimal performance.
-
Azure SQL Managed Instance just got WAY faster - Meet Next gen GP | Data Exposed
YouTube Issue #391
Microsoft Azure SQL: https://aka.ms/msazuresqlyt In this episode, Anna Hoffman and Uros Milanovic explain how you get lower latency, higher throughput and IOPS, more storage and databases per instanc...
-
-
⚡ Our .NET API Was Taking 8 Seconds to Respond — Here’s How I Brought It Down to 200ms
Medium Issue #389
“The API is slow again.” — Four words every backend developer dreads hearing on a Monday morning.
-
Exploring the (underwhelming) System.Diagnostics.Metrics source generators: System.Diagnostics.Metrics APIs - Part 2
Andrew Lock | .NET Escapades Issue #388
In this post I explore the source generators shipped in Microsoft.Extensions.Telemetry.Abstractions, explore the code, and discuss whether I would use them
-
WPF Memory Leaks: The Static Event Trap that Eats Your RAM
Medium Issue #388
A visual guide to identifying and fixing memory leaks in .NET applications using Visual Studio Diagnostic Tools.
-
5 Advanced Async Concepts That Make Sense Once You Understand the Runtime
Medium Issue #388
Why TaskCompletionSource, custom awaiters, and continuations behave the way they do Continue reading on CodeToDeploy »
-
Bulk Operations in EF Core 10: Beyond SaveChanges()
Medium Issue #388
When saving 10,000 records takes 30 seconds instead of 30 milliseconds
-
Implementing Paging for Large Datasets in .NET Applications
Code With Trev | Blog Issue #388
Today, we're diving into a crucial aspect of building responsive and performant applications: **paging**.
-
The .NET Architecture Trap: Clean, Modular, and Painfully Slow
Medium Issue #388
Modern .NET architecture has a look. If you’ve been in enough code reviews or conference talks, you know it instantly. The solution has…
-
.NET R&D Digest (January, 2026)
WordPress Issue #387
This issue includes bits of philosophy, AI, tools, software development, performance, diagnostics, security, architecture and of course .NET and .NET Internals.
-
GC Didn’t Save Me: How I Leaked Resources Even Though .NET Has Garbage Collection
Medium Issue #387
“GC will clean it up eventually, right?”
-
Why I Combined Redis Pub/Sub with In-Memory Cache (Instead of Just Moving Everything to Redis)
Medium Issue #387
Most engineers, when they hit scaling issues, think: “Let’s move everything to Redis. Problem solved.”
-
Why Choosing Classes Over Structs Almost Broke My .NET App — And How Value Types Saved It
Medium Issue #387
“Why did my API suddenly slow down under load, even though nothing in the code changed?”
-
Func vs EventCallback: They Look the Same — Until the UI Gets Involved
Medium Issue #387
“It’s async. It compiles. It works.” So why does Blazor insist on having EventCallback?
-
String Performance: Why Some String Searches Are Slower Than You Think
WordPress Issue #387
String searching is fundamental to modern applications, yet its performance impact is often overlooked. This article explores how common string search patterns can quietly slow down your code—and how ...
-
What is AsNoTracking() in EF Core? Explained in the Easiest Way
Medium Issue #386
Improve EF Core performance instantly! Discover how .AsNoTracking() can speed up your queries and reduce memory usage — simply explained
-
Common C# Mistakes Even Senior Developers Make
C# Corner Issue #386
Avoid common C# pitfalls! Even experienced developers make mistakes like misusing async/await, ignoring IDisposable, and over-abstracting. Learn to write better C# code.
-
Dotnet Tip: ToList() Vs ToHashSet()
Medium Issue #385
Recently, I had an issue which was bringing down our application in Production. Everything worked fine in Nonproduction of course since…