Public Service Announcement: PMs and Managers Must Ensure Memory Issues are Not Introduced in Microsoft .NET Projects!

I have been writing about this in books and articles since the beginning of Microsoft .NET over 20 years ago. This first PSA is geared toward Project Managers and Development Managers as a warning, so their projects don't suffer from preventable issues like this that I see at every company I work for.

Rock Your Code: Code & App Performance for Microsoft.NET – 3rd Edition

I am announcing the 3rd edition of my book titled Rock Your Code: Code & App Performance for Microsoft .NET, now available on Amazon. I worked on this book for a big chunk of 2022 so I hope that you and your team will find it useful.

Collection Performance: Processing Collections with Parallel.For() and Parallel.ForEach()

Since .NET 4.0, under the System.Threading.Tasks namespace, processing of collections can be sped up by using Parallel.For() and Parallel.ForEach(). These methods operate with thread-local data that runs in parallel. Both are easy to use and come with different options. This article shows you how to use these methods along with benchmark results.

Collection Performance: Creating Immutable Sorted Collections

ImmutableSortedDictionary and ImmutableSortedSet are available as immutable sorted collections. Performance benchmarks reveal that ImmutableSortedSet outperforms ImmutableSortedDictionary in both scenarios. Using CreateRange() is more efficient than CreateBuilder() with foreach(). However, employing a List with the Sort() method proves to be the most efficient option.

Collection Performance: Sorting With LINQ

There are several ways to sort a collection in .NET and one of them is by using LINQ. Two main extension methods are part of LINQ that can be used to easily sort collections.

Rock Your Code: XML Documentation of Code for Microsoft .NET

This article emphasizes the importance of documenting Microsoft .NET code with XML documentation and code comments. It covers the purpose and benefits of XML documentation, setting up the project for documentation, usage of section tags, file headers, types and members documentation, examples, code comments, and the use of GhostDoc for automated documentation.

dotNetDave Rocks the Code Quality Conference 2022

The dotNetDave For Those About to Code: Worldwide Tour will be at the Code Quality Conference 2022 on August 19th. Last year we had over 72K software engineers watch the conference and I hope you will watch it this year to learn how to rock your code to release quality applications and services that meet your user's needs.

We Must Demand Quality in Ourselves, the Software We Write, and In Apps We Use!

In this article, for the first time, I discuss three subjects; demand quality in apps you use, demand quality in yourself (improve skills to grow professionally), and finally demand quality in the apps you write. Demanding a certain level of quality in yourself as well as apps that you use and develop will ultimately result in important growth as a professional, resulting in higher-paying jobs.

Coding Faster with dotNetTips Spargine 6: Validating Data Made Easy

In this article, I’m going to discuss new extension methods and show examples for validating data. In much of the code we write, we validate the state of a variable. In many cases, we use this to change program flow. These methods that I will describe make this very easy along with some added features.

dotNetDave Rocks the Philly Code Camp 2022

The dotNetDave For Those About to Code: Worldwide Tour will be at the Philly Code Camp in Philadelphia, PA on March 4th. I hope you will join me at this meeting.