The 20th Anniversary Edition of Rock Your Code: Coding Standards for Microsoft .NET, authored by David McCarter, is now available on Amazon. This comprehensive guide offers updated standards for .NET 10, best practices, and expert insights, making it essential for software engineers aiming for improved code quality and performance over two decades.
Category: Coding Standards
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.
Rock Your Code: Object-Oriented Design Principles for Microsoft .NET
Today, I am excited to announce the release of my new e-book, Rock Your Code: Object-Oriented Design Principles for Microsoft .NET. This book builds upon a chapter from my previous coding standards work, delving into a crucial topic I often encounter in the code I analyze— the lack of solid object-oriented programming practices when designing … Continue reading Rock Your Code: Object-Oriented Design Principles for Microsoft .NET
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.
Stop the Leaks: Properly Disposing Objects in .NET
Improper disposal of objects in .NET projects can lead to severe memory leaks, causing performance issues and crashes. A case study revealed a company spent over $25,000 to resolve these issues. Recommended practices include using IDisposableAnalyzers and custom extension methods like TryDispose() and DisposeFields() to simplify memory management and prevent problems.
The Vital Role of QA: Why Independent Testing is Essential for Software Integrity
In the world of real estate, rigorous inspections are essential for a safe and functional home. Similarly, in software development, Quality Assurance (QA) plays a crucial role in testing software for quality, security, and performance. While unit tests are important, they cannot replace the comprehensive testing provided by a dedicated QA team. Collaborative integration of QA from the beginning of a project, effective communication, and comprehensive documentation are essential for robust and reliable software. Quality should be a core feature of any product, requiring dedicated resources and attention to prevent costly failures and protect user trust.
Mastering Code Documentation with Copilot: Enhancing XML and Code Comments in Projects
The article "Unleashing the Power of Copilot: Enhancing Visual Studio with New Slash Commands" discusses the importance of code documentation and the use of Copilot to enhance documentation in .NET projects, addressing code clarity, maintenance, collaboration, debugging, and best practices. It also highlights challenges and provides tips for utilizing Copilot in code documentation.
Boosting Performance with Copilot Slash Commands: Unleashing New Speed in Spargine
In the article "Unleashing the Power of Copilot: Enhancing Visual Studio with New Slash Commands," the author discusses utilizing Copilot to improve the performance of the open-source project Spargine. Detailed examples show how Copilot's recommendations resulted in significant speed improvements and the author's workflow for implementing changes. The article encourages developers to use Copilot for code enhancement.
Unleashing the Power of Copilot: Enhancing Visual Studio with New Slash Commands
In 2024 at Microsoft Build, new Copilot features were introduced in Visual Studio, including helpful slash commands for tasks like adding comments, explaining code, proposing fixes, generating code, receiving assistance, optimizing code, and writing unit tests. Despite its benefits, caution is advised when accepting Copilot's suggestions. Stay tuned for updates as more commands are added.
Collection Performance: Introducing FrozenSet in .NET 8: Benefits and Benchmark PerformanceCollection Performance
.NET version 8 introduced the FrozenSet type, offering immutable and hashable set collection with benefits including improved performance, memory efficiency, and thread safety. Benchmarks show comparable performance to List, outperforming HashSet and ImmutableHashSet. However, it is slightly slower than the latter in lookups. FrozenSet offers significant advantages for concurrent applications and memory optimization.

You must be logged in to post a comment.