dotNetDave Rocks ØREDEV DEVELOPERS CONFERENCE 2025

dotNetDave will speak at the Øredev Developers Conference in Malmö, Sweden, from November 5-7, 2025. His session focuses on optimizing .NET code performance, sharing techniques to improve execution speed by up to 98%. Attendees will learn about effective memory management, enhancing application efficiency while gaining practical insights from his book series.

Boost Your .NET Projects: Supercharge Your Code with FastStringBuilder in Spargine

Spargine is a collection of open-source assemblies and NuGet packages for .NET 8 and 9, aimed at optimizing performance. The FastStringBuilder enhances string manipulation by minimizing memory allocations and boosting speed, featuring methods like Combine and ToDelimitedString. Benchmarks indicate significant improvements over traditional approaches in both speed and memory efficiency.

dotNetDave Says… Avoid Going Across the Wire Until Necessary!

Network calls create significant performance bottlenecks in modern applications due to latency and unpredictability. Developers should prioritize chunky communication and batch requests to improve efficiency, as demonstrated through API development experiences. Monitoring usage and enforcing standards can enhance performance, emphasizing that optimal design must consider the entire stack, including network performance.

Boost Your .NET Projects with Spargine: Supercharge Your Performance Tracking with PerformanceStopwatch

The PerformanceStopwatch is an advanced .NET tool that enhances time measurement for performance analysis and diagnostics. It features lap tracking, alert thresholds, and telemetry integration for real-time monitoring. With capabilities like JSON data export and custom logging, it provides developers with comprehensive insights to optimize and debug applications more effectively.

Coding Faster with dotNetTips.com Spargine 8: May 2025 Release

Spargine 8 (v2025.8.5.1) has been released on May 1, 2025, enhancing .NET 8 & 9 support with new classes, methods, and significant performance improvements. This final major update focuses on performance, usability, and reliability, encouraging community involvement for future enhancements and contributions as the project transitions to .NET 10.

Optimizing Base64 String Conversion to Byte Array in Microsoft .NET

This article discusses converting Base64-encoded strings to byte arrays in .NET using two methods. The fastest method is backed up by benchmark tests.

Comparing Type Checking Methods in .NET: Performance vs. Readability

In .NET, type checking methods include GetType(), the is keyword, IsAssignableFrom(), and the as keyword. Each method varies in readability and performance.

Microsoft .NET Code Analysis: Improve .NET Performance by Reusing Constant Arrays

In optimizing the Spargine project, I improved performance by avoiding constant arrays as method arguments. Instead, using static readonly fields reduced memory allocations significantly. This change enhanced execution speed, yielding a 1.34x performance gain. I recommend enabling CA1856 warnings in .editorconfig to maintain performance-focused coding practices.

Microsoft .NET Code Analysis: Boosting Performance with [ConstantExpected] Attribute for Methods

The [ConstantExpected] attribute in .NET enhances code performance by signaling that methods should receive compile-time constants as arguments. While not enforcing this at runtime, it improves coding practices and efficiency. In the Spargine project, it clarified intent and identified issues early, particularly with .NET 10's performance improvements across parameter types.

Microsoft .NET Code Analysis: Optimizing Collection Examination

This content discusses four methods for evaluating items in a collection using predicates or filters, mainly focusing on the LINQ Any() method. It highlights the performance of Count() as superior to Any(), LongCount(), and Exists() under specific conditions, especially in asynchronous operations where CountAsync() is the fastest.