Dealing with Recruiters Tip #2: Don’t Play Games When Contacting Us

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". Almost daily, I receive emails like this: I am recruiting for an exciting contract opportunity with one … Continue reading Dealing with Recruiters Tip #2: Don’t Play Games When Contacting Us

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

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