In this post I will briefly describe how you can implement a serverless, generic CQRS Http Endpoint using Azure Functions and MediatR. Let’s imagine we have an ICommand and an IQuery<T> interface. Here we implement them by extending existing MediatR contracts: Then, we can implement two generic Functions which…