Top "Mediatr" questions

MediatR is a simple, open source mediator implementation in .NET.

.NET Core console app Mediatr command handler doesn't get called

I'm facing a problem that Mediatr command handler is not called. I have the following solution structure. Project.sln -&…

c# .net dependency-injection console mediatr
IRequestHandler return void

Please see the code below: public class CreatePersonHandler : IRequestHandler<CreatePersonCommand,bool> { public async Task<bool> Handle(…

c# cqrs mediatr
Mediatr 3.0 Using Pipeline behaviors for authentication

Looking at using the new Mediatr 3.0 feature pipeline behaviors for authentication/authorization. Would you normally auth based on the message …

c# mediatr