Latest articles (48)

3 ways to inject DateTime and test it

DateTime, Guid, and Random values are not under your direct control. You should abstract them to write better code and testing. We'll see 3 ways to inject and test them in .NET Core projects

Clean code tips - Error handling

The way you handle errors on your code can have a huge impact on the maintainability of your projects. Don't underestimate the power of clean error handling.

How to Ping an endpoint with C#

How to effectively ping an endpoint in C#? Don't use the HttpClient, when .NET provides a Ping class to perform all these operations.