Coding Faster with dotNetTips.com Spargine 10: July 2026 Release

The announcement reveals the release of Spargine 10 (v2026.10.7.1) on July 1, 2026, introducing NuGet packages for .NET 10. This update enhances performance and reliability with new classes and methods, performance benchmarks, and optimizations. The release includes speed improvements and promotes community collaboration for future enhancements.

IO Performance: Reuse HttpClient to Avoid Connection Overhead

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, reducing overhead compared to repeated individual inserts and clearly expressing intent. When combined with proper capacity planning, these approaches help produce predictable, maintainable code—whether items are being appended or inserted at a specific position.

dotNetDave Rocks .NET Day Switzerland 2026

dotNetDave will be speaking at SQL Saturday in Austin, Texas, on June 27, 2026, as part of the No Rest for the Wicked World Tour. His sessions, "Röck Yoür Cäreer" and "Unleash Your Inner Rockstar," focus on valuable career insights for tech professionals and strategies for dynamic public speaking, promising actionable guidance and inspiration.

Database Performance: Making Entity Framework Queries Faster

The article discusses the advantages of using compiled queries in Entity Framework, especially for frequently executed and complex queries.

Boost Your .NET Projects: Copilot, Benchmarks, and the Truth About Faster Code

The article discusses the limitations and benefits of using Copilot for code optimization in the Spargine .NET project. While some suggestions from Copilot significantly improved performance, others were ineffective or detrimental. The author emphasizes the importance of thorough testing and verification of AI-generated changes to ensure quality and efficiency in code.

Boost Your .NET Projects: Future-Proofing Performance with Spargine’s Fast Methods

The book "Rock Your Code: Code & App Performance for Microsoft .NET" emphasizes the evolving nature of .NET performance. Spargine's Fast methods are designed to optimize code efficiency while allowing developers to maintain consistency in method usage. These methods adapt to platform improvements, ensuring high performance in critical code areas, enhancing developer experience.

GitHub Copilot Agent for Unit Tests: My Real-World Spargine Experiment

After experimenting with the GitHub Copilot Agent during the 2026 Microsoft MVP Summit, the author faced numerous challenges, including code deletion, slow performance, and inconsistent adherence to coding conventions. Despite these issues, the agent added valuable unit tests to the Spargine projects, but it requires careful oversight and refining of prompts for effective use.

Unit Tests: Keep Your CRAP Score from Wrecking the Show

A practical look at complexity, coverage, Copilot, and keeping your code ready to rock. If you have ever attended my conference session about coding standards or read my articles on dotNetTips.com, you already know I preach about cyclomatic complexity. That number matters. To me, it represents the minimum number of unit tests a method should … Continue reading Unit Tests: Keep Your CRAP Score from Wrecking the Show

Make Your .NET Assemblies Trimmable: Smaller Apps, Faster Starts, and AOT-Ready Code

Do you trim your applications? Do you configure your reusable DLLs to be trimmable? If you build class libraries, NuGet packages, shared internal frameworks, or utility assemblies, this is something you should care about. Trimming allows the .NET linker to remove unused IL when an application is published with trimming enabled. Done correctly, it can … Continue reading Make Your .NET Assemblies Trimmable: Smaller Apps, Faster Starts, and AOT-Ready Code

On .NET Live: How Coding Standards Supercharge .NET Quality & Performance

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 quality, performance, maintainability, and consistency across your projects. Join us live and bring your burning questions. … Continue reading On .NET Live: How Coding Standards Supercharge .NET Quality & Performance