Category: Software Development

151 posts

  1. Software-Development
    September 23, 2022

    Enhance the readability of your tests by customizing Fluent Assertions to your use cases!

  2. Software-Development
    September 13, 2022

    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 …

  3. Software-Development
    September 06, 2022

    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 …

  4. Software-Development
    August 23, 2022

    How to make sure you are comparing apples to apples when benchmarking in .NET

  5. Software-Development
    August 23, 2022

    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.

  6. Software-Development
    August 23, 2022

    Convert Results from one type to another using the new Map extension method!

  7. Software-Development
    August 18, 2022

    Set up a .NET benchmarking project from scratch with BenchmarkDotNet, using its attributes and APIs to compare the performance of string concatenation methods.

  8. Software-Development
    August 16, 2022

    AutoMapper maps are easy to unit test. Use AssertConfigurationIsValid, regression tests, and a reusable base test class to verify mappings with less …

  9. Software-Development
    August 10, 2022

    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.

  10. Software-Development
    August 09, 2022

    Using helper extension methods to reduce noise and duplication in ASP.NET Core integration/functional tests. Write your own or use a NuGet package.

  11. Software-Development
    July 13, 2022

    Getting NU1101 package restore errors on a fresh install of Visual Studio? The default nuget.org feed may be missing. Here's how to add it back.

  12. Software-Development
    May 26, 2022

    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.