performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1624 articles Updated Page 25 of 65
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 25 of 65
Newest first
-
Background jobs and security picks
DotNetNews Issue #368
This issue covers schedulers, auth best practices, DI with Autofac, and several .NET fundamentals pieces, plus AI-assisted remediation and configuration.
-
AWS Lambda SnapStart for .NET – Cut Cold Starts by 90% (With Benchmarks)
codewithmukesh Issue #366
Stop losing users to Lambda cold starts. Learn how to enable SnapStart for .NET functions, use runtime hooks for optimization, and see real benchmark data showing 58-94% faster cold starts.
-
Async Pitfalls in EF Core: What Every .NET Developer Needs to Know
Medium Issue #366
EF Core async methods are powerful tools for building scalable .NET
-
Building a Custom LINQ Provider in .NET
Medium Issue #366
LINQ providers are one of those dark corners of .NET that most developers never need to touch. And honestly? That’s probably for the best…
-
Unlock Blazing Fast ASP.NET Core APIs with Smart Caching Strategies
Medium Issue #366
Minimal APIs in .NET 10: Clean, Lightweight, But Are They Really Minimal?
-
Channels in C#
Medium Issue #366
Learn how to build high-performance, thread-safe producer-consumer applications using System.Threading.Channels.
-
StructQueue: Lightning-Fast C# Queues: No Copies, No Garbage
Medium Issue #366
In C#, Queue<T> is the go-to data structure for storing items in a first-in, first-out order. But when we really need ultimate performance…
-
Real Plugin Systems in .NET: AssemblyLoadContext, Unloadability, and Reflection‑Free Discovery
Medium Issue #364
How to build production-grade plugin systems that unload, avoid file locks, and survive the failure modes that break naive approaches
-
C# 14 Improved Lambda Expressions: Using ref, in, and out Parameters for High-Performance Code
C# Corner Issue #363
Explore C# 14's enhanced lambda expressions with 'ref', 'in', and 'out' parameters. Boost performance, readability, and code consistency for critical operations.
-
Our Database Was Drowning in 50,000 Insert Requests Per Minute — Here’s How We Fixed It
Medium Issue #363
Last year, our e-commerce platform had a major crisis during Black Friday.
-
C# 14 Extension Members: Complete Guide to Properties, Operators, and Static Extensions
Laurent Kempé Issue #363
Extension methods have been a core C# feature since version 3.0, enabling developers to add methods to types without modifying source code. With C# 14 and .NET 10, Microsoft introduces extension membe...
-
C# 14 in Action: High-Performance Lambda Expressions with Parameter Modifiers
C# Corner Issue #363
Explore C# 14's enhanced lambda expressions with parameter modifiers (ref, in, out) for high-performance code, clearer intent, and expressive APIs. Optimize your C#!
-
Top 10 errors found in C# projects in 2025
Medium Issue #363
Throughout 2025, the PVS-Studio team has been actively checking open-source C# projects. Over the year, we discovered plenty of defects…
-
How to Build High-Performance Microservices Using .NET 10?
Medium Issue #362
Today’s digital products need to be fast, stable, and ready to grow. Users expect applications to load quickly, work smoothly, and stay…
-
How to Read Excel Files with C#
Medium Issue #362
This article walks you through a simple, high-efficiency solution to read Excel files with C# (no Office installation required).
-
Swapping two blocks of memory that reside inside a larger block, in constant memory
Microsoft Dev Blogs Issue #362
Suppose you have a large block of memory, and you want to swap two blocks that reside inside that large block. For concreteness, say you have a block of memory of the form A1, A2, B1, B2, C1, C2, D1, ...
-
Microservices Design Patterns in .NET That Actually Survive Production
Medium Issue #362
Most .NET microservices failures are not caused by bad frameworks or tooling. They fail because architectural patterns are applied…
-
EF Core, Ad-Hoc Queries, and Plan Cache Pollution
Medium Issue #365
How usecounts Reveals Hidden Performance Problems
-
Channels in C# .NET: Building High-Performance Concurrent Pipelines
Medium Issue #365
Concurrency is one of those topics that looks simple on the surface and becomes painful in real systems. Threads, locks, queues, and…
-
Reduce GitHub Actions runner CPU usage
Meziantou's blog Issue #365
If you're using self-hosted GitHub Actions runners, you might have noticed they can be surprisingly CPU-intensive, even when idle. A closer look reveals that a single runner can peg a CPU core at 100%...
-
.NET 10 & C# 14: Less Code, Better Performance
Medium Issue #365
.NET 10 and C# 14 are out, delivering practical improvements that make code cleaner and data processing faster. Unlike some releases…
-
Leveraging Span-Based String Concatenation for Improved Performance
WordPress Issue #365
The excerpt from "Rock Your Code" emphasizes the importance of efficient string concatenation in .NET. It highlights the advantages of using the Span type over traditional methods, demonstra...
-
Value Types and Reference Types in C#
C# Corner Issue #365
Unlock C# mastery! This guide clarifies value vs. reference types, impacting memory, performance, and bug prevention. Essential for efficient .NET development.
-
3x Faster, 99.9% Less Memory: Optimizing .NET String Processing
Medium Issue #361
I recently optimized a simple log parsing function and the results shocked me: Continue reading on .Net Programming »
-
Hybrid Cache & Output Caching in .NET: A Game Changer for High-Performance Applications
C# Corner Issue #361
This article explains how Hybrid Caching and Output Caching in ASP.NET Core (.NET 10) significantly boost application performance, reduce database load, enhance scalability, and improve system resilie...