
Use the OOS library Spargine to make throwing Exceptions easy.

Check out this insightful video on the importance of prioritizing code quality in every development team.

Out of all the millions of lines of code I have reviewed in the past 20 years of .NET, hands down the #1 issue are developers not properly disposing of objects that implement IDisposable. This article shows the incorrect and then the correct way to handle some of these types such as StringReader.

In today's mobile world, many calls across the internet or network could fail for many reasons. Some of the reasons could be the service is busy, the network is slow and many more.
You can overhear me say this in every one of my code conference sessions! I’ve been coding for over 25 years, and this way of thinking has allowed me to make changes to the code, later in time, easier.
Unit testing is something very important for any project. With that said, I rarely see it done in projects or done correctly. How can you push the code to quality assurance or production without knowing the state of the code?

Last year while presenting my Rock Your Code: Code and App Performance in Microsoft .NET session at a conference, one of the attendees asked me if using the When() clause is faster or not when trapping Exceptions. I found the question intriguing, so I set out to do performance testing for his question.
I have been using recruiters for a long time to help me find a new opportunity. For the ones I don't have a relationship with... please stop playing games when sending us an email about a "great opportunity".
In all my books and conference sessions I talk about the proper way to test if a string is valid. Microsoft .NET has been around for almost two decades.
I will be discussing what I have learned, the hard way, using the Simple Queuing Service (SQS) and LAMBDA's.

Recently while working on my dotNetTips.Utility Dev App, I realized I was determining the location of the users OneDrive folder wrong, especially if they have more than one OneDrive account, like myself. I didn't want to go through the hassle of learning the Microsoft.OneDriveSDK, nor did I want to use an entire SDK just to figure this out.


New utility released to quickly remove cashed and temp files created by Visual Studio and SQL Server.
Encapsulation is the first pillar of Object Oriented Programming (OOP), yet most code that I see does not implement encapsulation correctly or not all. Like I say in many of my conference sessions "If you do not implement encapsulation, you aren't doing OOP!" I also say "Bad data in, bad data out!".
The dotNetDave Rock The World Tour Is Coming To India!
I believe software development should be easier and faster than it is. This post explains why.

Use this handy extension to covert a DateTime type to a friendly name string.
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article