AutoMapper lets you map a type to itself without creating a map, but it returns the same instance instead of a copy. Here's how to force a real copy and test …
Thinking in relational tables leads to awkward wrapper entities in DDD models. A modeling kata shows why a document database can be a better fit for DDD …
C# has no built-in string repeat function. Compare four ways to repeat a string N times, with LINQ, StringBuilder, arrays, and Span, plus benchmark results.
Set up a .NET benchmarking project from scratch with BenchmarkDotNet, using its attributes and APIs to compare the performance of string concatenation methods.
How to set up AutoMapper in a C# solution with a factory class and an Autofac module, and why keeping mapping logic simple makes your code easier to test.
NuGet Central Package Management puts package versions in one Directory.Packages.props file. How to set it up and why it simplifies multi-project solutions.