Code Quality: Formatting Classes in Microsoft .NET to Make Them Easy to Read and Modify

For the future of the project, it's important that class files are laid out in a way that they are easy to read and modify and do consistently. We do this to avoid “spaghetti code” that does not give developers a good feeling about the stability of the project. In this article, I will show exactly how I format code classes. In this article, I will show exactly how I format code classes by example.

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.

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.

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

Have you ever had issues trying to figure out what the code is doing that you were tasked to work on? Is there any documentation for it? Do you need questions answered, but the original developer isn’t working at the company anymore? Well, there is an easy answer for .NET projects… XML documentation and code comments! These days, I’m beginning to think that documentation of code in Microsoft .NET is becoming a lost art. This is a bad trend that I will try to improve with this article. If you use good coding standards, most of the documentation I will talk about is simple to generate!

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.