performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1624 articles Updated Page 6 of 65
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 6 of 65
Newest first
-
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.
-
EF Core 11 Performance Tips Every Developer Should Know
C# Corner Issue #518
Boost EF Core 11 performance with 11 essential tips: AsNoTracking, projection, N+1 avoidance, compiled queries, bulk ops & more.
-
Practical Load Testing of ASP.NET Core APIs with k6 and OpenTelemetry
C# Corner Issue #518
Master ASP.NET Core API load testing with k6 & OpenTelemetry. Ensure scalability, reliability, and performance under real-world traffic.
-
15 Advanced C# Mistakes You’re Probably Still Making
Medium Issue #518
Writing high-performance, robust C# requires moving beyond entry-level pitfalls like simple null checks or missing using statements. As…
-
Observability in .NET 10 Using OpenTelemetry, Prometheus, and Grafana
C# Corner Issue #517
Master .NET 10 observability with OpenTelemetry, Prometheus, and Grafana for deep insights into distributed systems.
-
Building High-Performance Rate Limiting in ASP.NET Core 11
C# Corner Issue #517
Master ASP.NET Core rate limiting for resilient APIs. Learn algorithms, implementation, and testing for production readiness.
-
Building a database in a text file
C# Digest Issue #517
and why async is not enough
-
Dual-Layer Rate Limiting Middleware for Enterprise LangGraph RAG
C# Corner Issue #517
Secure enterprise LangGraph RAG with dual-layer rate limiting (IP & API Key) in FastAPI, preventing abuse and controlling costs.
-
Real-Time Fraud Detection Using Sliding Window Algorithms, LangGraph, RAG, State, and Memory
C# Corner Issue #517
Build an enterprise fraud detection system using LangGraph, RAG, and sliding window anomaly detection for real-time financial transaction analysis.