performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1624 articles Updated Page 5 of 65
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 5 of 65
Newest first
-
Full Outer Joins in LINQ: Performance and SQL Translation
C# Corner Issue #523
Explore .NET 11's FullJoin in LINQ for explicit full outer joins. Optimize database queries with EF Core translation and understand performance implications.
-
Benchmarking PostgreSQL 18 AIO with Real EF Core Workloads
C# Corner Issue #523
Benchmark PostgreSQL 18 AIO with EF Core workloads. Measure impact on ASP.NET Core apps, storage I/O, and query performance.
-
.NET 11 performance edition
C# Digest Issue #522
7x faster enums, 2x faster timezone conversions, and GUID parsing 20% quicker
-
General Performance: Object Initializers – Readability Versus Performance
dotNetTips.com Issue #522
The post discusses two methods for initializing objects in C#: traditional property assignment and object initializers. While the traditional method is slightly faster, object initializers enhance cod...
-
.NET MAUI CoreCLR Migration: Startup and Memory Benchmarks
C# Corner Issue #522
.NET MAUI moves to CoreCLR in .NET 11. Benchmark startup, memory, and package size for a smooth migration.
-
Demystifying Dependency Injection in .NET: The Unspoken Rules of Lifetimes, Performance, and Memory
Medium Issue #522
Why choosing between Singleton, Scoped, and Transient isn’t about file size or project location, but is entirely about State, Thread…
-
Benchmarking C# 15 Union Types in Real Applications
C# Corner Issue #521
Benchmark C# 15 union types in real apps. Explore performance, allocations, boxing, and compare with interfaces for production readiness.
-
Benchmarking HTTP Request Compression in .NET 11
C# Corner Issue #521
Explore HTTP request compression in .NET 11 through practical benchmarks measuring bandwidth usage, CPU overhead, latency, and throughput across different compression scenarios.
-
SQL Server Vector Search: Benchmarking EF Core Workloads
C# Corner Issue #521
Benchmark SQL Server vector search with EF Core. Explore exact vs. approximate search, performance factors, and best practices for RAG.
-
Benchmarking C# Async Tail-Await Optimizations in .NET 11
C# Corner Issue #521
Benchmark C# async tail-await optimizations in .NET 11 to measure their impact on asynchronous execution, latency, throughput, allocations, and runtime performance.
-
Database Performance in .NET
Medium Issue #521
In Part 1, I wrote about boundaries. In Part 2, I wrote about aggregates and invariants. In Part 3, I wrote about domain events. In Part 4…
-
Building DNS-Aware Failover Clients with .NET 11
C# Corner Issue #521
Build a DNS-aware failover client with .NET 11 that dynamically handles DNS changes, endpoint failures, recovery scenarios, and resilient service communication.
-
Benchmarking Zstandard Compression in .NET Applications
C# Corner Issue #521
Benchmark Zstandard compression in .NET 11 apps. Compare speed, size, CPU, and memory against GZip & Brotli for optimal data handling.
-
Benchmarking .NET 11 NativeAOT CLI Startup and Memory Usage
C# Corner Issue #521
Benchmark .NET 11 NativeAOT command-line applications against JIT deployments to compare startup time, memory consumption, execution performance, and deployment characteristics.
-
Reading ETW events and diagnosing production issues
Medium Issue #521
A practitioner’s guide to Event Tracing for Windows — from provider to root cause
-
Resilient Microservices in .NET: Integrating Refit with Polly Circuit Breakers
C# Corner Issue #520
Secure .NET microservices with Refit & Polly circuit breakers. Prevent cascading failures and ensure resilience against HTTP dependency issues.
-
Benchmarking ASP.NET Core HTTP/3 Under Real API Load
C# Corner Issue #520
Benchmark ASP.NET Core API HTTP/3 performance under real-world load. Measure latency, throughput, CPU, and memory for accurate insights.
-
.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.