Scott DePouw

Scott DePouw

Senior Consultant

Scott has over a decade of professional software development and consulting experience working with a plethora of technologies and frameworks. He's a strong proponent and practitioner of SOLID programming principles and test-driven development.

Posts

  1. Scott
    September 09, 2024

    Discover how .NET 7's GeneratedRegexAttribute optimizes the performance of your regular expressions.

  2. Scott
    August 20, 2024

    AutoMapper isn't the tool for every scenario, but what is done in these more complex cases? Is AutoMapper still useful when more complexity is present?

  3. Scott
    July 16, 2024

    Consulting for several clients means juggling their laptops and hardware. Practical tips for cataloging, storing, swapping, and returning client equipment.

  4. Scott
    June 17, 2024

    TimeProvider's local time zone is read-only. Build a custom TimeProvider to set your app's time zone, fall back to a default, and register it with DI.

  5. Scott
    May 13, 2024

    dotnet format passes locally but fails with ENDOFLINE errors in CI? Mismatched line endings across operating systems are the cause, and .gitattributes is the …

  6. Scott
    April 16, 2024

    Don't have access to an external dependency yet? Use the wrapper pattern to code against an abstraction now and plug in the real implementation later.

  7. Scott
    March 25, 2024

    Good pull request habits for authors: review your own work, run the builds, and keep PRs small. Plus the team and process problems that make PRs grow too large.

  8. Scott
    February 19, 2024

    .NET 7 generic math lets you write numeric logic like a discount calculation once for every number type using INumber<T>, plus a look at its limitations.

  9. Scott
    January 25, 2024

    Lessons from learning a new programming language for game development: think like a musician, pick a Rosetta Stone problem, and practice with code katas.

  10. Scott
    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.

  11. Scott
    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.

  12. Scott
    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>.