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
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
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
It's been a long time since I have done a book review but I wanted to review Azure and Xamarin Forms: Cross Platform Mobile Development by Russell Fustino since I am personally interested in these two subjects. If you are new to mobile development or cloud development, then this book is for you! Heck, why not try … Continue reading Book Review: Azure and Xamarin Forms: Cross Platform Mobile Development
Is code quality important to your team? It should be at the top of the list, not only to make your customers happy, but make your team happier when bugs arise and when features need to be added. Putting quality in your code in the future is a lot more expensive than doing it when … Continue reading Is Quality Part of Open-Source Projects Your App Is Using?
On September 15th, the dotNetDave World Farewell Tour will land in Seattle, WA for the first time! I can't wait to rock the geeks in Seattle. If you live in the area, I hope you will attend my session below. For more info and to register, click here. Special thanks goes to GrapeCity for sending … Continue reading dotNetDave Rocks the Seattle Code Camp 2018
Since I have been a speaker and a teacher, I have always stressed the importance of practicing proper object-oriented programming (OOP) techniques. If you don’t practice OOP, no matter what language you are using, I guarantee you will end up with a “house of cards” and they all eventually fall. The first “pillar” of OOP … Continue reading Defensive Programming – Let Type Checking Work for You