Tag Archives: Web API

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 »

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 – CQRS

By | 01/10/2025

In this post, we will see what CQRS is and how we can use it in our projects.But first of all, what is CQRS?“Command Query Responsibility Segregation (CQRS) is an architectural pattern that challenges traditional monolithic approaches to data management. At its core, CQRS separates the read (Query Model) and write (Command Model) operations of… Read More: Design Patterns – CQRS »

Minimal APIs – In Memory Caching

By | 20/03/2024

In this post, we will see how to use In-Memory Caching to improve the performances of our Minimal APIs.But, why should we use caching?“Caching temporarily stores copies of data so future requests for that data can be served faster. The idea is to reduce the number of expensive calls, such as database queries, making the… Read More: Minimal APIs – In Memory Caching »

Minimal APIs – Authorization

By | 22/11/2023

In this post, we will see how to implement authorization in Minimal APIs.We will use the same project that we created in the post “Minimal APIs – Minimal APIs with .NET Core” in which, we then added Authentication in this other post “Minimal APIs: Authentication with JWT“.In detail, we want to restrict the Insert, Delete… Read More: Minimal APIs – Authorization »

Minimal APIs – Authentication with JWT

By | 26/07/2023

In this post, we will see how to implement JWT (JSON Web Token) authentication in Minimal APIs.We are going to use the same project that we created in the post “Minimal APIs – Minimal APIs with .NET Core“, only changing the type of Dog.Id from Guid to int.These are all the classes: [DOGS.CS] [DATACONTEXT.CS] [IDOGCOMMANDS.CS]… Read More: Minimal APIs – Authentication with JWT »