Tag Archives: Minimal APIs

C# – Webhooks

By | 18/02/2026

In this post, we will see what Webhooks are and how we can use them in our .NET projects.Based on the post I created for SignalR, it is important to distinguish between different types of real-time communication. While SignalR handles complex, persistent connections, Webhooks solve a different problem entirely.A Webhook is not a library or… Read More »

Minimal APIs – Validation in .NET 10

By | 07/01/2026

In this post, we’ll explore the new validation feature introduced in .NET 10 a native, first‑class validation filter built directly into Minimal APIs.Before .NET 10, Minimal APIs encouraged a style where validation logic often lived inline inside handlers. While that approach works for small demos, it breaks down quickly in real applications. As endpoints grow,… Read More »

C# – SignalR

By | 10/12/2025

In this post, we will see what SignalR is and how we can use it in our .net projects.SignalR is a library for .NET developers that simplifies adding real-time web functionality to our applications.In short, it enables server-push. Instead of the client always having to initiate a request, SignalR opens a persistent, two-way connection. This… Read More »

C# – Refit client

By | 26/11/2025

In this post, we will see what Refit is and how we can use it in our .net projects.But first of all, what is Refit?“Refit is a REST library for .NET that turns our REST API into a live interface. Created by Paul Betts, Refit uses C# interfaces decorated with attributes to define HTTP API… Read More »

Minimal APIs – Clean Architecture

By | 05/06/2024

In this post, we will see how to implement Clean Architecture with .NET Core Minimal APIs, enabling us to build applications that are both efficient and easy to maintain.But first of all, what is the Clear Architecture?Clean Architecture, proposed by Robert C. Martin (Uncle Bob), is a design philosophy that emphasizes the separation of concerns… Read More »

Minimal APIs – Pagination with Caching

By | 01/05/2024

When building REST APIs, pagination is a crucial feature for handling large datasets efficiently.In this post, we’ll explore two different approaches to implement pagination with caching in a C# Minimal API. Obviously, we will use the same project used in all Minimal APIs’ posts.Before to see the two implementations, we have to modify the method LoadDefaultValuesDB,… Read More »