How to test Mediatr-enabled ASP.NET Core Web API endpoints

Shafiq Jetha
Jul 3, 2021

--

Mediatr enabled the Command Query Responsibility Segregation pattern for any workload in .NET, but it can be very powerful when sat just behind a Web API. Testing your endpoints and Mediatr calls with Moq can ensure that your code handles the segregation correctly.

--

--

Shafiq Jetha
Shafiq Jetha

Written by Shafiq Jetha

A senior developer obsessed with a fast development inner loop

No responses yet