Skip to content

Domain Events - get notified outside of application layer #438

Answered by Eagleleader
Eagleleader asked this question in Q&A
Discussion options

You must be logged in to vote

Answer is : just add the MediatR into the services of the API :
services.AddMediatR(Assembly.GetExecutingAssembly());
As my API currently uses the application layer and uses the Dependency Injection configured into that APP Layer, everything is communicating all together.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@artworkad
Comment options

Answer selected by Eagleleader
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants