Using the New IAsyncEnumerable Interface in .NET Core 3

The release of .NET Core 3 last month includes a brand new IAsyncEnumerable interface in the System.Collections.Generic namespace. The Microsoft documentation simply states: Exposes an enumerator that provides asynchronous iteration over values of a specified type.Microsoft Documentation This new interface sounds interesting, so I looked at the code in my open-source assembly to see if … Continue reading Using the New IAsyncEnumerable Interface in .NET Core 3

dotNetDave Rocks the Granite State Code Camp

For the first time, the dotNetDave 25th Anniversary World Tour is coming to the Granite State Code Camp in Manchester, NH on November 2nd! Even though I was born back east (Delaware), I don't think I have ever been to the state. If you live in the area, please let me know what I should … Continue reading dotNetDave Rocks the Granite State Code Camp

dotNetDave Says… If Your Code Is Hard To Unit Test, You’re Doing It Wrong

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? A few years back, I did a contact at a company here in San Diego, … Continue reading dotNetDave Says… If Your Code Is Hard To Unit Test, You’re Doing It Wrong

Announcing the Second Edition of Rock Your Code: Code & App Performance for Microsoft.NET

Today I am announcing the brand new edition of my book titled Rock Your Code: Code & App Performance for Microsoft .NET, now available on Amazon. How fast your code executes is very important for your users and back-end server processes. This is even more important for the future as more and more users, use … Continue reading Announcing the Second Edition of Rock Your Code: Code & App Performance for Microsoft.NET

Improve Your Model Classes with OOP – Part 3: Serialization

In part 1 of this series, I discussed building model classes properly with Object-Oriented Programming (OOP), specifically encapsulation that must always include data validation. In part 2 I  showed you constructors, interfaces and more that you should implement in your model classes. In this article, we will build upon the Person.cs type from part 2 … Continue reading Improve Your Model Classes with OOP – Part 3: Serialization

dotNetTips.Utility.Standard NuGet Packages Quarterly Release (Q3 2019)

The 3rd quarter release of the dotNetTips.Utility.Standard NugGet packages has been released. These packages contain common code for Microsoft .NET that I use every day and I hope you do too. PackageVersionRelease notesdotNetTips.Utility.Standard2019.8.31.1 Code & documentation cleanup. Code fixes. New code in LoggingHelper, ComputerInfo. dotNetTips.Utility.Standard.Extensions 2019.8.31.1 Code & documentation cleanup. Code fixes. New code in … Continue reading dotNetTips.Utility.Standard NuGet Packages Quarterly Release (Q3 2019)