Dealing with Duplication in MediatR Handlers

added by DotNetKicks
12/13/2016 3:10:32 PM

1 Kicks, 40 Views

We've been using MediatR (or some manifestation of it) for a number of years now, and one issue that comes up frequently is "how do I deal with duplication". In a traditional DDD n-tier architecture, you had: It was rather easy to share logic in a service class for business logic, or a repository for data logic (queries, etc.)