performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1586 articles Updated Page 20 of 64
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 20 of 64
Newest first
-
Stop Bleeding Performance: The Ultimate Guide to EF Core with Massive Datasets
Medium Issue #399
How to tame Entity Framework Core when your database has millions of rows — and why your LINQ queries might be silently destroying your…
-
How LINQ Execution Actually Works: Power of Being Lazy
Medium Issue #398
Have you ever written a beautifully complex LINQ query, stepped through it with your debugger, and noticed that your app didn’t actually…
-
Observability in .NET with OpenTelemetry
C# Corner Issue #398
Explore .NET observability with OpenTelemetry! Learn how to monitor distributed applications using logs, metrics, and traces. Plus, a basic setup example included!
-
LINQ in C#: Understanding the Select() Operator
Medium Issue #398
When developers first encounter LINQ, they often see Select() as “just a projection method.” But in real systems, Select() is the operator…
-
Creating standard and "observable" instruments: System.Diagnostics.Metrics APIs - Part 3
Andrew Lock | .NET Escapades Issue #398
In this post I discuss the various Instrument
-
Readonly vs Immutable vs Frozen in C#: differences and (a lot of) benchmarks
Code4IT 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 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# Corner 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
Bipin Joshi .NET | Thus said a Byte • Insights on .NET and Web Development 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 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 Issue #394
.NET Performance Superpower: Understanding ValueTask (and When Not to Use It)
-
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 »