Getting Unit Tests Created with IntelliTest Working On VSTS

While evaluating Visual Studio Test Services to build, test and deploy our projects for the company I work for, ran into an issue with running unit tests created with IntelliTests. Simply, the test project would not build due to the PEX engine DLL's not being installed on the images VSTS uses. I contacted support and [...]

.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)   {   [...]

.NET Framework => Core: Getting The App Data Folder

This is the first in my series of blog posts that will describe major changes to coding if you are trying to convert from the .NET Framework to .NET Core. First up, getting the folder the app should use to save data. In the .NET Framework it was really easy by doing the following: public [...]

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 [...]