performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1624 articles Updated Page 15 of 65
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 15 of 65
Newest first
-
Building a Policy-Driven Distributed Concurrency Engine for AI Workloads in .NET
Medium Issue #460
How Redis ZSET leases, Lua-based atomic admission, DAG step claiming, and policy-driven throttling make distributed AI execution safer…
-
The HttpClient Mistake That Quietly Breaks .NET Apps in Production
Medium Issue #460
“Works perfectly on localhost. Crashes in production.”
-
-
10 EF Core Performance Mistakes (and How to Fix Them) in .NET 10
codewithmukesh Issue #459
10 EF Core performance mistakes that ship to production - N+1 queries, missing projections, lazy loading, AsNoTracking, bulk ops - and how to fix each in .NET 10.
-
On .NET Live: How Coding Standards Supercharge .NET Quality & Performance
dotNetTips.com Issue #459
For the second time, I’m excited to be a guest on On .NET Live on May 18th at 9 AM PST! I’ll be talking about one of my favorite subjects: coding standards and how they can supercharge .NET code quali...
-
Copilot Studio gets faster with .NET 10 on WebAssembly
Microsoft Dev Blogs Issue #458
Microsoft Copilot Studio recently upgraded its .NET WebAssembly engine to .NET 10. The migration was straightforward, simplified deployment, and delivered another round of meaningful performance gains...
-
Removing byte array allocations using ReadOnlySpan
C# Digest Issue #457
no matter which version of .NET you're targeting
-
Working with Span, Memory, and ref structs in High-Performance Apps using .NET 9
C# Corner Issue #456
Unlock peak .NET 9 performance! Dive into Span<T>, Memory<T>, and ref structs for allocation-free, high-speed code. Master stack-based memory and reduce GC pressure.
-
The Complete C# Guide: From Access Modifiers to Zero-Allocation Memory — Everything a Production…
Medium Issue #456
C# is one of the most feature-rich languages on the planet. The problem isn’t learning it — it’s knowing which parts actually matter when… Continue reading on JIN System Architect »
-
Introducing Apache Arrow Support in mssql-python
Microsoft Dev Blogs Issue #455
mssql-python now supports fetching SQL Server data directly as Apache Arrow structures - a faster and more memory-efficient path for anyone working with SQL Server data in Polars, Pandas, DuckDB, or a...
-
Memory, GC & the CLR — What Every .NET Performance Engineer Must Know
Medium Issue #455
Before you open a profiler, before you start tuning code, you need to understand what’s actually happening under the hood.
-
Difference Between ValueTask and Task in C# with Performance Use Cases?
C# Corner Issue #455
Explore Task vs. ValueTask in C# async programming. Learn when to use ValueTask for performance gains by minimizing memory allocation in high-throughput scenarios. Task is simpler and safer!
-
Copilot Studio gets faster with .NET 10 on WebAssembly
Microsoft Dev Blogs Issue #454
A few months ago, we shared How Copilot Studio uses .NET and WebAssembly for performance and innovation, describing how Microsoft Copilot Studio runs C# in the browser via .NET
-
Collection Performance: AddRange() vs. InsertRange() When Populating Lists
dotNetTips.com Issue #454
When populating collections in .NET, choosing the right bulk operation improves both clarity and efficiency. Methods like AddRange() and InsertRange() allow multiple items to be added in a single call...
-
High-performance distributed caching with .NET
C# Digest Issue #452
when the in-memory cache expires the database cache keeps things fast
-
Three EF Core Bugs That Quietly Kill Production .NET Apps (And How to Catch Them Early)
Medium Issue #452
A field guide for .NET teams who’ve outgrown “it works on my machine” — covers EF Core 8, 9, and 10
-
Thread Pool Exhaustion in ASP.NET: The Async Database Trap
Network Programming in .NET Issue #452
If you’ve ever migrated a working ASP.NET application from synchronous database calls to async, and suddenly found yourself hitting connection pool timeouts under load, you’ve likely fallen into one o...
-
From Allocation to Iteration: Optimizing Your Collections in .NET
Medium Issue #451
When working with collections in .NET, developers often overlook one of the most impactful optimization techniques: initializing a List<T>…
-
C# / .NET Performance: Why Is It Slow 'Here' and What Should You Optimize First?
Chris Pietschmann Issue #449
You open a profiler, squint at the code, and ask: “Why is this slow?” Before you even finish the thought, someone — or an AI assistant — suggests switching from List<T> to Span<T>, or inlining a...
-
High-Performance Distributed Caching with .NET and Postgres on Azure
Microsoft Dev Blogs Issue #449
Adding caching to your application architecture can significantly improve key performance metrics, cut latency, and reduce load across downstream systems. In this walkthrough, we highlight the latest ...
-
Inside Multithreading: Memory Layout and Kernel Execution
Medium Issue #449
Kernel Executing Code — Why Page faults, TLB Mises, False Sharing
-
Scaling Background Jobs in .NET: How We Tuned Hangfire Workers for High-Load Processing
Medium Issue #449
In modern .NET applications, background job processing plays a key role in handling long-running tasks such as document processing, email…
-
Stop Guessing How .NET Manages Memory
Medium Issue #449
A practical guide to Stack, Heap, Garbage Collection, generations, SOH, LOH, and why your app might throw OutOfMemoryException even when…
-
.NET Threads, Tasks & async/await — What Actually Happens Under the Hood
Medium Issue #449
Most developers use async/await daily.
-
Common Async/Await Bug in C# (That Only Shows Up in Production)
Medium Issue #448
The Async/Await Bug That Took Down Our API (And Why Local Tests Didn’t Catch It)