In Spargine 8, I introduced the UlidGenerator type to make working with ULIDs easier in .NET applications. For the .NET 10 release, I took this idea further โ converting ULIDs into a first-class value type (struct) in the DotNetTips.Spargine.Core assembly, similar in spirit to the built-in Guid type. Why? Because modern distributed applications increasingly need … Continue reading Boost Your .NET Projects with Spargine: High-Performance ULIDs with the Ulid Struct
Boost Your .NET Projects with Spargine: Supercharge Your .NET Apps with NetworkHelper
NetworkHelper is a utility created to streamline network-related operations for .NET applications. It centralizes code for network diagnostics, logging, and performance tuning, offering a clean API for tasks like retrieving IP addresses and statistics. This reduces code duplication, enhances reliability, and simplifies maintenance for developers.
String Performance: The Fastest Way to Get a Stringโs Length
Retrieving the character count of a string in .NET has various methods: using Span with Length, Length, or Enumerable.Count(). This article will prove which is the fastest method.
Collection Performance: High-Performance Collection Randomization in .NET
The article examines shuffling options in .NET 8, highlighting the performance of three APIs: LINQ.Shuffle(), Random.Shuffle(), and RandomNumberGenerator.Shuffle().
File I/O Performance: Picking the Fastest Weapon in Your Arsenal
This article provides insights on the fastest file I/O methods for .NET 10, emphasizing benchmarks with 1 MB payloads.
Coding Faster with dotNetTips.com Spargine 10: January 2026 Release
Spargine 10 (v2026.10.1.5) launches on January 5th, 2026, featuring enhancements for .NET 10, including new types, methods, benchmarks, and significant performance upgrades. There are breaking changes that may affect existing code. Community contributions are encouraged, and feedback is welcomed to improve the project further.
Leveraging Span-Based String Concatenation for Improved Performance
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, demonstrating that replacing Substring with AsSpan and leveraging the Concat function significantly enhances performance by 43 times while minimizing memory allocations.
Visual Studio 2026: Regressions, Reliability Issues, and Missed Opportunities
Visual Studio 2026 has regressed by removing or disabling key code-quality features, making development more difficult. The Analyze tool suffers from inconsistencies and lack of reliability, while various testing functionalities are also flawed. AI tools like Copilot cannot replace essential code-quality features. Greater MVP involvement and thoughtful updates are needed to enhance the IDE.
Rock Your Code: Code & App Performance for Microsoft .NET (5th Edition)
The fifth edition of David McCarter's book, "Rรถck Yรถur Cรถde: Code & App Performance for Microsoft .NET," is now available on Amazon. It offers practical techniques for enhancing .NET application performance, including coding patterns, memory insights, and benchmarking. This definitive guide is essential for modern .NET developers aiming for speed and scalability.
Supercharging Application Performance with Intelligent Client-Side Caching
This excerpt discusses enhancing Microsoft .NET application performance by minimizing network calls. The author emphasizes client-side caching with Spargineโs InMemoryCache, which drastically improves responsiveness and scalability for costly operations like reflection. While significant speed gains are noted, developers are advised to benchmark changes, as caching may not always be beneficial.

You must be logged in to post a comment.