Category: Software Development

151 posts

  1. Software-Development
    December 08, 2023

    C# 12 primary constructors work well for dependency injection but less so for validation or DTOs. Our recommendations, including how to name the parameters.

  2. Software-Development
    December 05, 2023

    Refit turns a C# interface into a typed, injectable HTTP client. Set one up in a .NET worker service, define routes, and inspect responses with ApiResponse<T>.

  3. Software-Development
    December 01, 2023

    A walkthrough of how to use AutoFixture to generate test data and how it can help you write better tests.

  4. Software-Development
    November 29, 2023

    Stop writing your own IClock wrappers. .NET 8's TimeProvider gives you a built-in time abstraction, and FakeTimeProvider makes time-dependent code easy to test.

  5. Software-Development
    October 27, 2023

    When building objects in tests, there are 3 design patterns that assist with building test objects - Factory pattern, Object Mother, and Builder pattern.

  6. Software-Development
    August 17, 2023

    In this article, we compare how to do things in Moq versus NSubstitute.

  7. Software-Development
    August 04, 2023

    A fractional CTO brings senior technology leadership part-time. How it helps with cost, expert guidance, flexibility, risk, and speed to market.

  8. Software-Development
    July 10, 2023

    If you have to migrate from .NET Framework to .NET Core, SystemWebAdapters can help with the load. They work with VB.NET and C#.

  9. Software-Development
    June 09, 2023

    Using the pre-commit Git Hook, you can prevent checking in sloppy code and broken tests.

  10. Software-Development
    June 07, 2023

    Formatters can help with consistent code styles, improving readability and maintainability of code.

  11. Software-Development
    May 02, 2023

    The Guardians of the Galaxy's travel log app has code smells. Clean it up with built-in and custom guard clauses from the Ardalis.GuardClauses package.

  12. Software-Development
    April 14, 2023

    How to get around Postgres' auto lowercasing of queries when using EF Core