python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Registering commands and handlers with generic interfaces
I'm studying about the mediator pattern. I would like to register a handler to handle a command that has a generic type, where the type is an IMessage.
internal class NewEmployeeCommand<TMessage>...
Rafa
Votes: 0
Answers: 0
How to change MediatR publish strategy
how is it possible to configure another publishing strategy when using MediatR? basically i need to configure it to use publishingStrategy.ParallelNoWait. any help would be appreciated since im not ab...
Muhammad Ali Nazar
Votes: 0
Answers: 1
Decorate MediatR IRequestHandler using Microsoft DI
I'm trying to decorate some of my MediatR's IRequestHandlers. To mark handlers I wanted to decorate, I created the interface ICommandHandler that inherits from IRequestHandler and ICommand that inheri...
grzegorzorwat
Votes: 0
Answers: 2
MediatR Issue : Error while validating the service descriptor 'ServiceType: MediatR.IRequestHandler
I'm using .Net Core 3.1 and MediatR framework/library for query objects.
While executing the webApi\endpoint, I am getting the below issue
Some services are not able to be constructed (Error while v...
jAntoni
Votes: 0
Answers: 2