Properly Implementing the Singleton Pattern

One of the popular coding patterns is called Singleton. I use it currently in my dotNetTips Dev Utility for the configuration object. The pattern is defined: In software engineering, the singleton pattern is a software design pattern that restricts the instantiation of a class to one object. This is useful when exactly one object is [...]

dotNetDave Rocks Azure BootCamp – 2017

For the first time I will speaking at the Azure BootCamp in Southern California on Saturday April 22nd. I hope to see you there. I will be doing the session below. Rock Your Development With A Real World Example This session will demonstrate concepts in the first four parts of my series titled "Improving Code [...]

.NET Framework => Core: LINQ AsParallel

In the .NET Framework, if we wanted to process a loop on multiple cores, we simply added AsParallell to the end of the collection as seen below: var files = new List(); foreach (var directory in directories.AsParallel()) {   if (directory.Exists)   {     var foundFiles = directory.EnumerateFiles(searchPattern, searchOption);   lock (files)   {   [...]

Rock Your Microsoft .NET Coding Standards (2017)

I've released a brand new video of my conference session titled "Rock Your Microsoft .NET Coding Standards" on demand. This video has lots of new tips, tricks and guidance. To see this session, live and in person click here to check out my conference schedule. Rock Your Microsoft .NET Coding Standards from David McCarter on [...]

Rock Your Development With A Real World Example

I've just released by brand new conference session "Rock Your Development With A Real World Example" on video-on-demand. This video is for you if you want to see how I implemented proper architecture in Microsoft Azure. To see this session, live and in person click here to check out my conference schedule. Rock Your Development [...]

Quality Of Software Is Getting Worse, Not Better, In 2017

For a number of years now the theme for all of my conference talks has been “Demand Quality In Software You Use, Demand Quality in Software You Write, Demand Quality In Yourself!”. My only goal with my sessions for the foreseeable future is all wrapped around this idea for these reasons… First, as a contractor, [...]