Skip to content

Instantly share code, notes, and snippets.

@pradeepn
Last active June 13, 2018 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save pradeepn/a481c6c03916a8a9cbaa0e22edbca7a4 to your computer and use it in GitHub Desktop.
Save pradeepn/a481c6c03916a8a9cbaa0e22edbca7a4 to your computer and use it in GitHub Desktop.
CQRS with MediatR
MediatR
Simple mediator implementation in .NET for In-process messaging.
Supports request/response, commands, queries, notifications and events, synchronous and async with intelligent dispatching via C# generic variance.
https://github.com/jbogard/MediatR/wiki
Workflow
Workflow is kind of container for business logic. It could combine set of queries and commands into single operation which matters to end user.
https://github.com/sergeyzwezdin/cqrs-spirit
Thin Controllers with CQRS and MediatR
http://codeopinion.com/thin-controllers-cqrs-mediatr/
Query Objects with a Mediator
http://codeopinion.com/query-objects-with-a-mediator/
Validating Commands with the Decorator Pattern
http://codeopinion.com/validating-commands/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment