I'm a big fan of domain driven design. One of the key concepts of that approach are what are called value objects: objects that are considered identical because they have the same values in their ...
Learn the benefits of Data Transfer Objects, why they should be immutable, and how to take advantage of them in your ASP.NET Core applications A Data Transfer Object (commonly known as a DTO) is ...
AutoMapper makes life easy, but has its limits. Learn how to implement a custom mapper to handle complex data structures or incompatible types. When working on applications, you will often need to ...
Trust me: There's actually a tip at the end of this column, but it's going to take me awhile to get there. Be patient -- I do have a point and I am getting to it. When it comes to comparing objects, ...
A programming language structure wherein the data and their associated processing ("methods") are defined as self-contained entities called "objects." Becoming popular in the early 1990s and the norm ...
I've got a very complex object (1000+ properties, and the properties are occasionally changed by another team.) and I am writing code to undo changes if the user desires. (I'm implementing ...
So I'm whipping up something quick and dirty for a work project. I've got a C# class that is all string types, nothing fancy, and once the item is created it gets serialized with the new ...