performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1707 articles Updated Page 9 of 69
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 9 of 69
Newest first
-
.NET MAUI CoreCLR Migration: Finding Mobile Regressions
C# Corner Issue #520
Navigate .NET MAUI CoreCLR migration for mobile apps. Discover regressions, test systematically, and ensure a smooth transition with this expert guide.
-
Deep Dive into EF Core Query Performance: Default Tracking vs. AsNoTracking
C# Corner Issue #520
In Entity Framework Core (EF Core), query performance and memory management are heavily governed by one underlying mechanism: Change Tracking. While EF Core's default tracking behavior makes data muta...
-
EF Core Tracking Is Silently Wasting Your Memory
Medium Issue #520
Your endpoint returns 50 order summaries. The query allocates objects for every matching order.
-
Benchmarking EF Core Complex-Type Indexes at Scale
C# Corner Issue #520
Benchmark EF Core 11 complex-type indexes at scale. Measure query latency, reads, CPU, execution plans, and write overhead.
-
Preventing Connection Pool Staleness with .NET 11 HTTP Eviction
C# Corner Issue #520
Learn how .NET 11 HTTP connection eviction helps prevent stale connections and improve reliability, latency, and connection-pool behavior in production applications.
-
Routing and Failover for Microsoft.Extensions.AI
Microsoft Dev Blogs Issue #520
As AI adoption scales, cost, uptime, and latency become first-class constraints on application architecture. Routing between models or providers is a lever on all three at once. These new Microsoft.Ex...
-
PostgreSQL 18 AIO: Benchmarking .NET Database Workloads
C# Corner Issue #520
Benchmark PostgreSQL 18 AIO with .NET workloads. Measure performance differences between sync, worker, and io_uring for optimal database I/O.
-
Benchmarking .NET MAUI Startup After CoreCLR Migration
C# Corner Issue #520
Benchmark .NET MAUI startup after CoreCLR migration. Measure cold/warm starts, UI responsiveness, memory, and app size for accurate performance analysis.
-
Building Resilient HTTP Clients with Polly v9 and .NET 11
C# Corner Issue #519
Build resilient .NET 11 HTTP clients with Polly v9. Master retry, timeout, and circuit breaker patterns for reliable service communication.
-
Benchmarking .NET Native AOT for High-Traffic REST APIs
C# Corner Issue #519
Explore .NET Native AOT for high-traffic REST APIs. Benchmark startup, latency, throughput, and memory for optimal performance.
-
Mastering Async Concurrency in Enterprise AI: gather vs as_completed vs TaskGroup in LangGraph
C# Corner Issue #519
Master async Python for enterprise AI: gather, as_completed, TaskGroup in LangGraph for efficient ML inference and multi-agent concurrency.
-
Is Async/Await Killing Your App’s Performance?
Medium Issue #519
For a long time, I used async and await under the assumption that they were a 'magic button' to make my code faster. Continue reading on Deloitte UK Engineering Blog »
-
Production-Ready OpenTelemetry Metrics in .NET 11
C# Corner Issue #519
Implement production-ready OpenTelemetry metrics in .NET 11. Capture custom business metrics, monitor performance, and ensure reliability.
-
Leveraging Built-In Rate Limiting and Output Caching in Modern .NET
C# Corner Issue #519
Boost .NET API performance with built-in rate limiting & output caching. Protect against abuse & reduce database load efficiently.
-
Entity Framework N+1 in a Report Loop: The Pre-Fetch Fix Was Going to Crash Large Tenants
Medium Issue #519
he query loop was firing once per row. The obvious fix loaded the entire tenant’s history into memory. Neither was acceptable.
-
Diagnosing Thread Pool Starvation in ASP.NET Core APIs
C# Corner Issue #519
Diagnose and fix ASP.NET Core API Thread Pool starvation. Learn to identify slow responses caused by blocked threads, not just slow databases.
-
How I Extended Polly’s Resilience Pipeline with a Custom IOptionsMonitor
Medium Issue #519
From feature request to merged PR: exposing a hidden path in Polly’s resilience pipeline.
-
Designing High-Throughput File Processing Pipelines with .NET Channels
C# Corner Issue #519
Design scalable .NET file processing pipelines with Channels. Learn producer-consumer, backpressure, and error handling for high throughput.
-
Second-Level Caching in EF Core 10: The Complete Guide
codewithmukesh Issue #519
Add second-level caching to EF Core 10 with EFCoreSecondLevelCacheInterceptor, Redis, and HybridCache - with real benchmarks and the invalidation gotchas.
-
Building High-Performance Minimal APIs with Typed Results in .NET Core
C# Corner Issue #518
Unlock high-performance .NET Core Minimal APIs with Typed Results. Enhance type safety, unit testability, and Swagger documentation for cleaner code.
-
When our cache turned against us
C# Digest Issue #518
cache stampedes happen when many requests all miss the cache at the same moment
-
Building a Lightweight Web Analytics SDK & Real-Time Customer Journey Platform from Scratch
C# Corner Issue #518
Build a lightweight web analytics SDK & real-time customer journey platform from scratch, focusing on performance, scalability, and developer experience.
-
Back to Basics: What String Concatenation Taught Me About Memory in C#
Medium Issue #518
Today, I went back to the basics. Nothing fancy. No advanced features. No design patterns. Just strings in C# and I’m glad I did.
-
How I Reduced Build Time from Over 5 Minutes to Under 30 Seconds by Consolidating 400+ Entity…
Medium Issue #518
As developers, we often focus on optimizing application performance for our users, but we sometimes overlook something just as important…
-
35 Senior .NET Developer Interview Questions That Actually Get Asked in 2026
codewithmukesh Issue #518
35 senior .NET interview questions with great answers, red flags, and follow-ups. GC, thread pool starvation, production diagnostics - updated for .NET 10.