News

In the above example, I’ve provided a basic implementation of value objects in C#. In a future post here, I’ll explore how we can implement a value object base class and discuss more advanced ...
Use a custom object mapper in action methods in C# In this section, we’ll examine how to use our custom mapper in action methods. First create an interface called IAuthorRepository and enter the ...
C# 9: Value Objects and Simpler Code. C# 9 gives you a better way to create value objects and some simpler code to use while doing it. ... In my previous examples, when creating my Address object, I ...
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 System ...