performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1396 articles Updated Page 27 of 56
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 27 of 56
Newest first
-
You’re Still Writing C#/.NET Like It’s 2015 — Here’s the 2025 Way
levelup.gitconnected.com Issue #301
If your C# still starts with namespaces at the top, MVC controllers everywhere, and new JsonSerializerOptions() sprinkled around, you’re… Continue reading on Level Up Coding »
-
Understanding the Cache-Aside Pattern: A Practical Guide
medium.com Issue #301
Boost Performance with Smart Caching
-
Why I Still Choose C# (Even After Trying Everything Else)
medium.com Issue #301
The one language that keeps pulling me back, no matter what else I try Continue reading on Programming Letters »
-
Boost your C# skills by fixing these common coding pitfalls — write cleaner, faster, and more maintainable code. Continue reading on Medium »
medium.com Issue #301
Boost your C# skills by fixing these common coding pitfalls — write cleaner, faster, and more maintainable code.
-
C# Tip: Use Stack<T>, Not List<T>
c-sharpcorner.com Issue #300
Unlock performance gains in your C# applications! Discover why Stack<T> often outperforms List<T> when implementing LIFO (Last-In, First-Out) data structures. This tip explores the underlying re...
-
Struct vs Class in C#: Performance Considerations for High-Load Apps
medium.com Issue #300
`struct` vs `class` in C#: Learn the key differences between value types and reference types, and how they impact performance and memory.
-
C# Channel’s Loops and Errors: Don’t Let Your Consumers Crash
blog.stackademic.com Issue #300
Part 3in a beginner-friendly guide to thread-safe async messaging in .NET Continue reading on Stackademic »
-
7 Performance Traps Every .NET Developer Should Avoid
medium.com Issue #300
Performance issues in .NET applications are rarely caused by a single big mistake.
-
🚀 Top 20 Proven Ways to Optimize Docker Images and Improve Performance
c-sharpcorner.com Issue #300
Unlock peak performance with these 20 proven Docker image optimization techniques! Learn how to minimize image size, enhance security, and accelerate deployments. From choosing minimal base images and...
-
Optimizing Array Performance in .NET: Getting the Most from ArrayPool
dotnettips.wordpress.com Issue #299
ArrayPool optimizes memory usage by providing a thread-safe pool of reusable arrays, significantly reducing allocations and garbage collection pressure, especially in high-performance scenarios. It's ...
-
How to Implement an LRU Cache with O(1) Operations
c-sharpcorner.com Issue #299
Learn how to implement an LRU (Least Recently Used) cache with O(1) time complexity for get and put operations. This guide provides a clear explanation of the theory, data structures (HashMap and Doub...
-
How to Delete a Particular Item from an Array
c-sharpcorner.com Issue #299
Learn the safest and most efficient ways to delete items from Python arrays, avoiding costly errors. This guide uses a real-world insurance claims scenario to illustrate the dangers of improper deleti...
-
Master Zero-Allocation Programming: The Ultimate Guide to Span and Memory in C# — To Read
medium.com Issue #299
Unlock the secrets of high-performance, zero-allocation programming in .NET and revolutionize your application’s memory efficiency
-
Optimizing Entity Framework Core: Performance Tips Every Developer Should Know
medium.com Issue #299
Practical EF Core performance checklist: Key techniques every .NET
-
5 .NET Concurrency Patterns That Actually Scale in Production
levelup.gitconnected.com Issue #299
Most .NET apps don’t fail from CPU limits, they fail from bad concurrency. Here are 5 patterns that actually scale in production. Continue reading on Level Up Coding »
-
Encapsulation in C#: Keeping Data Safe and Code Clean
medium.com Issue #299
When I started learning C#, one thing confused me a lot: why not just make everything public? I mean, if I can access variables directly…
-
Hidden Costs of Boxing in C#: How to Detect and Avoid Them
blog.elmah.io Issue #298
C# Boxing and Unboxing are vital players in the performance of an application. However, they are often overlooked. They involve heap allocations that bring a penalty due to their accessing mechanism. ...
-
🔍 How to Find the Largest Element in an Array?
c-sharpcorner.com Issue #298
This beginner-friendly article breaks down the problem with clear code examples and explains the O(n) time complexity. Master array traversal, comparisons, and loops while building a strong foundation...
-
Cache Stampedes in .NET
nemanjakukulicic.medium.com Issue #298
Ever had your cache hit by thousands of requests at the same time, only to watch multiple cache misses trigger identical database calls
-
Supercharging LINQ in C#: A Practical Guide to Cysharp ZLINQ
medium.com Issue #297
How to replace standard LINQ with Cysharp ZLinq for faster, zero-allocation queries in C#, with examples, limitations, and best practices. Continue reading on .Net Programming »
-
News: Visual Studio 2026
c-sharpcorner.com Issue #297
Get a sneak peek at Visual Studio 2026! The Insiders Edition boasts blazing-fast performance, deep AI integration with GitHub Copilot (adaptive paste, context menu actions, and intelligent search), a ...
-
Lazy Initialization in C#: Improve Performance with Lazy
medium.com Issue #297
A practical guide to lazy initialization in .NET: boost startup speed and resource efficiency with Lazy<T>.
-
Improve your .NET knowledge right now!
medium.com Issue #296
Check out these free resources: ⬇️ Continue reading on AI Career Quest »
-
Pushing .NET Performance: Practical Low-Level Programming Techniques in C#
c-sharpcorner.com Issue #296
Unlock peak .NET performance with low-level C# techniques! Dive into unsafe code, spans, stackalloc, and P/Invoke to minimize allocations, control memory, and optimize critical paths. Learn when and h...
-
Distributed Caching In .NET 9 With Redis
medium.com Issue #296
If you want the full source code, join our community: Here