.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1407 articles Updated Page 13 of 57
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
.NET Performance and Optimization articles
Page 13 of 57
Newest first
-
Creating standard and "observable" instruments: System.Diagnostics.Metrics APIs - Part 3
andrewlock.net Issue #398
In this post I discuss the various Instrument
-
Readonly vs Immutable vs Frozen in C#: differences and (a lot of) benchmarks
code4it.dev Issue #397
The words ReadOnly, Immutable, Frozen seem similar but have distinct meanings in .NET. Here’s a detailed comparison of Readonly, Immutable, and Frozen collections in C#, with benchmarks and typical us...
-
-
Multiplexed RBAC in .NET — Part 4 — Deterministic TRN Authorization Engine
medium.com Issue #397
Structural Enforcement via Proxy & Attribute-Driven Dynamic Registration (Class, Interface & Method)
-
Async/Await Best Practices in C#: Writing Scalable and Responsive Applications
c-sharpcorner.com Issue #396
Master C# async/await for scalable apps! Learn best practices for I/O, error handling, and avoiding deadlocks. Build responsive and high-performance .NET applications.
-
The Exhale: Cancellation, Backpressure, and Graceful Shutdown in ASP.NET Core
bipinjoshi.net Issue #395
Scalability is not only about handling more work—it is equally about knowing when to stop. Mature systems, like mature practices in meditation, recognize that continuation is not always the goal.
-
Testing for Memory Allocations in Unity
medium.com Issue #394
How to create a test to know if some code allocates in Unity
-
.NET Performance Superpower: Understanding ValueTask (and When Not to Use It)
medium.com Issue #394
.NET Performance Superpower: Understanding ValueTask (and When Not to Use It)
-
How to Implement Custom Response Caching in ASP.NET Core
c-sharpcorner.com 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-sharpcorner.com 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
chnasarre.medium.com 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-sharpcorner.com 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.com 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.com 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-sharpcorner.com 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.com 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
elanchezhiyan-p.medium.com 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
andrewlock.net 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.com 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.com 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.com Issue #388
When saving 10,000 records takes 30 seconds instead of 30 milliseconds
-
Implementing Paging for Large Datasets in .NET Applications
trevoirwilliams.com 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.com 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)
olegkarasik.wordpress.com Issue #387
This issue includes bits of philosophy, AI, tools, software development, performance, diagnostics, security, architecture and of course .NET and .NET Internals.