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
I have stared along with my good friend Woody Pewitt a new podcast called the Confessions of Angry Programmers podcast. I hope you will check it out and send us any feedback. https://coappodcast.wordpress.com/2018/09/29/episode-0/
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
In this article I want to outline the overall architecture for the services and apps. The first part of this article will document the feature request, then the remainder will be about the architecture and the design.
Recently, one of my friends and fellow writer interviewed me for an article. Here is what he wrote about the interview: David McCarter is a noted developer and Microsoft MVP (Most Valuable Professional). Dave has written a number of books and published many videos about computer programming. His dotNetDave Explains YouTube series is a hit … Continue reading Is There A Place For Old Developers On Young Development Teams?
With the short time I have been programming using Amazon Web Services (AWS) I have learned three things... AWS is NOT .NET Framework friendly! They are more .NET Core friendly but don't keep up with the latest version. The AWS .NET SDK needs a lot of work. I've previously wrote about this in my "Is … Continue reading Processing AWS SQS Messages via a LAMBDA
Encapsulation is the first pillar of Object Oriented Programming and maybe the most important. This is how wikipedia.org defines encapsulation: Encapsulation is one of the fundamentals of OOP (object-oriented programming). It refers to the bundling of data with the methods that operate on that data. Encapsulation is used to hide the values or state of … Continue reading Proper Type Encapsulation – Part 1