search

Simple mediator implementation in .NET. Supports request/response, commands, queries, notifications and events, synchronous and async with intelligent dispatching via C# generic variance.

Bharat Dwarkani shared on Oct 19, 2019
image
github.com
bookmarks
share
visibility77
visibility77 share bookmarks

The essence of the Mediator Pattern is to “define an object that encapsulates how a set of objects interact”. It promotes loose coupling by keeping objects from referring to each other explicitly, and it allows their interaction to be varied independently. Client classes can use the mediator to send messages to other clients, and can receive messages from other clients via an event on the mediator class.

Bharat Dwarkani shared on Oct 19, 2019
image
dotnetcoretutorials.com
bookmarks
share
visibility64
visibility64 share bookmarks

MediatR library is an open-source implementation of a mediator pattern for .NET applications. It was created by Jimmy Bogard (AutoMapper creator). In this article, I will try to explain the base concepts of this library and how it can be used in your applications.

Bharat Dwarkani shared on Oct 19, 2019
image
medium.com
bookmarks
share
visibility74
visibility74 share bookmarks
add