performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1468 articles Updated Page 4 of 59
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 4 of 59
Newest first
-
The self-invalidating cache that lives in the pipeline, not your handlers
medium.com Issue #501
A read-through cache is easy. Keeping it correct is the hard part. Here is a cache where a write invalidates the reads it staled…
-
Concat Costs
medium.com Issue #501
String concatenation with + is fine for one line, but in loops or dynamic UI it forces the garbage collector to work overtime…
-
Memory discipline and GC awareness in .NET
csharpdigest.net Issue #500
avoid frequent collection cycles causing latency spikes and wasted CPU time
-
Streaming Excel Exports in ASP.NET Core with IAsyncEnumerable
c-sharpcorner.com Issue #500
Stream Excel exports in ASP.NET Core using IAsyncEnumerable to avoid memory issues. Process large datasets efficiently without loading them entirely into memory.
-
Optimizing I/O Performance in .NET
dotnettips.com Issue #498
I/O operations impact application responsiveness, scalability, and costs. Enhancing file access, HTTP requests, and networking improves user experience while reducing resource consumption. This chapte...
-
The Fasting Developer: Memory Discipline and GC Awareness in .NET
binaryintellect.net Issue #498
There is a quiet assumption baked into most .NET codebases: the Garbage Collector will always clean up. And technically, it will. But the cost of that cleanup — paid in latency, in CPU time, in unpred...
-
Stop Over-Fetching: Master EF Core Projections for Faster, Leaner APIs
bogdan-hatis.medium.com Issue #498
Modern APIs rarely need every column from every related table.
-
IQueryable vs IEnumerable: The Mistake That Loads Your Whole Table
medium.com Issue #497
You wrote a clean LINQ query. It filters down to ten rows. It runs fine in dev, and then in production it’s slow and your database CPU is…
-
Bypassing the .NET GC: How I Hit 2.3 Million OPS With a C#-Native Embedded Database
medium.com Issue #496
DataVo v0.1 Alpha: an open-source, zero-allocation SQL + vector engine that runs in-process, no native extensions required.
-
.NET 8 vs .NET 6: Should You Upgrade?
faciletechnolab.com Issue #495
.NET 8 vs .NET 6 compared. Support timelines, performance gains, and breaking changes. A practical guide to deciding when and how to upgrade.
-
gRPC vs REST APIs: Performance, Scalability, and Use Cases Compared
c-sharpcorner.com Issue #495
Compare gRPC vs REST APIs: explore performance, scalability, use cases, architectural differences, data formats, and when to choose each.
-
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.