Posts tagged #csharp

Why tuples in C# are not always a code smell

Why tuples in C# are not always a code smell

Today's article will focus on tuples and show examples of tuples in C# being a code smell. But also, I want to point out when tuples can actually help you make your code more readable and cleaner. The trick is not to mistake tuples for the hammer for every screw out there. Let me show you how.

Read more →
Learn how to improve your ASP.NET Core controllers with these principles

Learn how to improve your ASP.NET Core controllers with these principles

When it comes to API projects there is a lot you can do with your controllers. Consequently, there is also a lot that you can do wrong with them. So let’s have a look at some basic guidelines that might help you improve the design of your ASP.NET Core controllers.

Read more →
Improve your pipeline maintainability with test categories in xUnit

Improve your pipeline maintainability with test categories in xUnit

Today let’s explore how you can improve the stability, maintainability, and readability of your CI and CD pipelines using custom test categories in xUnit.

Read more →
Get started with NDepend: Uncle Bob and the Zone of Pain

Get started with NDepend: Uncle Bob and the Zone of Pain

In this article, I want to show you how to get started with NDepend and use its features. Over what might be a series of several articles, we will explore how to set up the project/the solution and gain knowledge about the various types of reports tools like NDepend can generate for you and how you can benefit from them.

Read more →