dotNetDave Rocks the Austin .NET User Group

On October 29th, the dotNetDave World Farewell Tour will land in Austin, TX at the Austin .NET User Group to do the session below. I'm very excited to speak for the second time at this group. Rock Your Development With A Real World Example This session will demonstrate concepts in the first four parts of … Continue reading dotNetDave Rocks the Austin .NET User Group

Read World Cloud App – From Start to Finish: The Data Layer

In the second article in this series, I laid out the architecture and design for this cloud solution. Now it’s finally time to get coding! In this article I will discuss how I designed the data layer using Cosmos DB. To keep a separation of concerns, I will talk about the business entities which is … Continue reading Read World Cloud App – From Start to Finish: The Data Layer

dotNetDave Rocks the Philly Code Camp

For the first time I will speaking at the Philly Code Camp on November 16th - 17th! I'm excited to come to the area to do the sessions and workshop below. I have not been to Philadelphia, PA since I was a little kid. I was born in Delaware and plan to visit family while … Continue reading dotNetDave Rocks the Philly Code Camp

Proper Type Encapsulation – Part 2

In part 1 of this article, I explained how to implement proper data encapsulation. In part 2 I want to talk about encapsulating business logic. I see this missing in a lot of type design, especially when using an ORM like Entity Framework. It’s the job of the architect and coder of that type to … Continue reading Proper Type Encapsulation – Part 2

GrapeCity Software License Giveaway

OFFICIAL RULES NO PURCHASE NECESSARY HOW TO ENTER To enter the contest for a free GrapeCity software license, follow the contest rules outlined via social media by David McCarter (Tweet a design for the 2019 dotNetDave 25th Anniversary World Tour logo using #RockYourCode). Contest ends at 11:59 pm ET on October 15, 2018. NOTIFICATION Winner … Continue reading GrapeCity Software License Giveaway

Performance Tip: Checking For Empty String

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 almost two decades and I still see code like this: if (testValue.Trim() == "") This code is even wrong since it's not checking for null. A better way would be like this: … Continue reading Performance Tip: Checking For Empty String