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: C# – Webhooks »

AI – Claude Code and Sub Agents

By | 21/01/2026

In this post, we will see what Claude Code is, how to install it and how to create a web application using Claude Code with Sub Agents.But first of all, what is Claude Code?“Claude Code is Anthropic’s command-line tool that enables developers to delegate entire coding tasks to Claude directly from the terminal. Built on… Read More: AI – Claude Code and Sub Agents »

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: Minimal APIs – Validation in .NET 10 »

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# – SignalR »

Design Patterns – Mediator

By | 08/01/2025

In this post, we will see what is the Mediator pattern, why we should use it and then, we will implement all CRUD operations for an object “Book” with a Minimal API using MediatR, a popolar .NET library that implements this pattern.But firsrt of all, what is Mediator?“The Mediator pattern is a design pattern that… Read More: Design Patterns – Mediator »

C# – Management of a PostgreSQL database

By | 11/09/2024

In this post, we will see how to manage the PostgreSQL database created in the post “Python – Management of a PostgreSQL database”, using C#.We will define a Minimal API for managing the database using C# and Dapper, combined with the Repository Pattern. Finally, we will add the Unit Test to check that all methods… Read More: C# – Management of a PostgreSQL database »

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 – Clean Architecture »

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: Minimal APIs – Pagination with Caching »