.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1407 articles Updated Page 2 of 57
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
.NET Performance and Optimization articles
Page 2 of 57
Newest first
-
Need a different partition key in Azure Cosmos DB? Pick the right approach
devblogs.microsoft.com Issue #495
Once you create a container, its partition key is fixed at creation, and you can’t change it in place. However, if your original key starts causing problems like cr
-
How to Write the Fastest Code with BenchmarkDotNet in C# in the AI Era
neuecc.medium.com Issue #495
In the AI era, just as tests are essential as the legs that let an AI agent run its loop, profilers matter too, because they supply the…
-
Heap vs Stack in C#: The Biggest Misconception Every Beginner Learns
wiemksaier.medium.com Issue #494
If you’ve been learning C#, you’ve probably heard this:
-
Modern C# Features: A Deep Dive into Records, Pattern Matching, Async, and Performance
medium.com Issue #494
A practical guide to the C# language features that have reshaped how we write .NET code — records, pattern matching, async/await…
-
Async/Await Pitfalls in C#: The Bugs That Compile Fine and Break in Production
c-sharpcorner.com Issue #494
Master C# async/await: Avoid hidden bugs like async void, deadlocks, and forgotten awaits that compile but break in production.
-
Optimizing Entity Framework Core Queries for Large-Scale Applications
c-sharpcorner.com Issue #493
Optimize EF Core queries for large-scale apps. Learn techniques like projection, AsNoTracking, pagination, and indexing for peak performance.
-
AI-Driven Performance Profiling for ASP.NET Core Applications
c-sharpcorner.com Issue #493
Unlock faster ASP.NET Core apps with AI-driven profiling. Automate bottleneck detection, get smart recommendations, and boost performance.
-
Building AI-Powered Database Query Optimization Tools with SQL Server and .NET
c-sharpcorner.com Issue #493
Build AI-powered SQL Server query optimization tools with .NET. Automate performance analysis, detect bottlenecks, and get intelligent recommendations.
-
Building High-Performance Distributed Caching with Redis and ASP.NET Core
c-sharpcorner.com Issue #492
Boost ASP.NET Core app performance with Redis distributed caching. Learn integration, best practices, and patterns for scalability.
-
.NET 11 Performance Improvements Explained with Real Benchmarks
c-sharpcorner.com Issue #492
.NET 11 boosts performance with runtime, GC, and ASP.NET Core optimizations. See real benchmarks for faster apps!
-
Building a Semantic Caching Layer for AI Applications in ASP.NET Core
c-sharpcorner.com Issue #492
Boost AI app performance & cut costs with semantic caching in ASP.NET Core. Match queries by meaning, not text, for faster, cheaper AI.
-
Building a Search Platform Using OpenSearch and .NET
c-sharpcorner.com Issue #491
Build powerful search platforms with OpenSearch and .NET. Learn about its architecture, indexing, querying, and advanced features for scalable, relevant search.
-
PuppeteerSharp C# PDF: The Hidden Ops Cost (2026 Guide) - HackerNoon
hackernoon.com Issue #491
PuppeteerSharp C# PDF: The Hidden Ops Cost (2026 Guide) HackerNoon
-
Implementing Local LLM Inference in .NET Applications Using ONNX Runtime
c-sharpcorner.com Issue #491
Unlock local LLM inference in .NET with ONNX Runtime for faster, private, and cost-effective AI applications. Learn integration & best practices.
-
The .NET Host Process: What Runs Before Main() and Why It Sometimes Hangs
dotnettips.com Issue #491
This guide explores the essential role of the .NET host process, which initializes the runtime, resolves dependencies, and launches applications. It highlights common issues with lingering host proces...
-
Why .ToList() Changes Everything in Your LINQ Queries
medium.com Issue #490
If you are working with C# and .NET, you probably use LINQ every day. You drop a .ToList() at the end of your query to fix a type mismatch…
-
Native AOT vs JIT Compilation in .NET 11: Performance Benchmarks and Trade-Offs
c-sharpcorner.com Issue #490
Compare .NET 11 Native AOT vs JIT compilation. Explore performance benchmarks, startup time, memory usage, and trade-offs for cloud-native apps.
-
Bulk Operations in EF Core 10 - Benchmarking Insert, Update, and Delete Strategies
codewithmukesh.com Issue #490
Learn how to optimize bulk insert, update, and delete operations in EF Core 10. We benchmark 5 approaches with real numbers and a decision matrix for every scenario.
-
What's New in .NET 11: Features, Performance Improvements, and Migration Guide
c-sharpcorner.com Issue #490
.NET 11 boosts performance, productivity & cloud-native dev with Native AOT, faster ASP.NET Core, smarter GC & improved tooling. Migrate easily!
-
LINQ in C#: All(), Any(), and Contains() [Interview Questions]
medium.com Issue #490
These methods look simple, but they frequently expose gaps in understanding quantifiers, domain intent, and edge cases — especially empty…
-
Building AI-Powered SQL Query Performance Advisors with Entity Framework Core
c-sharpcorner.com Issue #490
Build AI-powered SQL query advisors with Entity Framework Core to automatically detect bottlenecks, optimize performance, and boost application responsiveness.
-
Building an AI-Driven Database Query Performance Analyzer with .NET and SQL Server
c-sharpcorner.com Issue #490
Build an AI-driven .NET and SQL Server analyzer to boost database query performance, reduce troubleshooting time, and enhance application responsiveness.
-
The One .NET 10 Method That Deleted Every GroupJoin I'd Ever Written
medium.com Issue #489
Twenty years of LINQ. One missing keyword. A report that silently lied for three weeks.
-
5 Process Management Problems Every .NET Developer Faces (And How .NET 11 Fixes Them)
towardsdev.com Issue #489
Most developers don’t think much about process management — until something breaks in production. Continue reading on Towards Dev »
-
Async/Await in .NET: The Silent Saboteur of My Sanity
medium.com Issue #489
An unfiltered rant — with the fixes I wish someone had told me years ago