.NET: the cost of returning an empty collection
Dealing with empty lists is an everyday situation in .NET. An empty list is often preferred to a null in order to control the logic. But how expensiv
Dealing with empty lists is an everyday situation in .NET. An empty list is often preferred to a null in order to control the logic. But how expensiv
We are currently in the preview phase of .NET 9, which releases in Nov 2024 - and if you want to test it extensively like I do, store the preview ver
Strings are one of the most commonly used types in .NET applications - and very often the source of inefficient code. For example, cleaning up a stri
Refit is an open-source library for .NET developers that simplifies the process of making HTTP API calls. It allows developers to define a set of int
Strong Name Signing is a mechanism in .NET development that ensures the integrity and authenticity of assemblies. It is based on a public-private key
YAML files are unfortunately part of everyday life for all developers these days; and although they are very error-prone and almost impossible to edi
For many years, there has been a lot of criticism of Visual Studio's current solution format. It is very difficult to read, it does not follow any st
Auditing is becoming increasingly important in the everyday life of a developer; however, until now there was no particularly good way in .NET - even
TLDR; You can see the full sample in my GitHub repository BEN ABT Samples - ASP.NET Core Form protection with Cloudflare's Turnstile Turnstile is a
It's now been a few months since the GDPR-drama and data-harvesting around Moq (Stop using Moq as a guinea pig to get feedback on and develop Sponsor
.NET event counters are a relatively new API for collecting metrics from .NET applications. They are part of the EventSource and EventCounter namespa
When you join a project as a new developer, you see one thing above all: no standards for Git commit messages. Some put emojis in the message, others
By default, Azure Application Insights comes with necessary and important telemetry capabilities to monitor the basic functions of an application and
The Azure Communication Service is a fairly new but already popular service for sending emails at scale. In this article, I would like to show you ho
The Azure Communication Service is a fairly new but already popular service for sending emails at scale. In this article, I would like to show you ho
One of the last blog posts (Text and EMail Templates with Handlebars.NET) was generally about HandleBars.NET - a very popular template engine. This p
API models are one of the elements where I personally see the most naming errors - which have a massive impact on the architect and cause subsequent
In many code bases there are Services and Providers - and often they do the same thing structurally; but what is the idea of a Service- and Provider-
Database entities are the objects that represent the tables in your database. They are the objects that you use to read and write the database. Namin
Often seen, often used incorrectly: DTOs. Data Transfer Objects. In principle, DTO is an umbrella term, a design pattern that is used to transfer dat