NimblePros Blog - Page 17

  1. NimblePros Blog
    January 03, 2024

    Find NimblePros at CodeMash 2024: our KidzMash session and shirt sponsorship, two workshops, and four conference sessions, with dates and times for each.

  2. NimblePros Blog
    December 24, 2023

    This blog post is going to explore the events that happen in A Visit from St. Nicholas by Clement Clarke Moore using EventStorming.

  3. NimblePros Blog
    December 19, 2023

    Add bearer token authentication to a Refit client in .NET, including the step most examples skip: actually obtaining the token through dependency injection.

  4. NimblePros Blog
    December 12, 2023

    Using the Bogus library to create realistic test data for domain-driven applications.

  5. NimblePros Blog
    December 11, 2023

    Log HTTP requests and responses from a Refit client in .NET with a custom DelegatingHandler, and be careful which details you write to your logs.

  6. NimblePros Blog
    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.

  7. NimblePros Blog
    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>.

  8. NimblePros Blog
    December 01, 2023

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

  9. NimblePros Blog
    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.

  10. NimblePros Blog
    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.