Need advice about which tool to choose?Ask the StackShare community!
MediatR vs WCF: What are the differences?
What is MediatR? In-process messaging with no dependencies. It is a low-ambition library trying to solve a simple problem — decoupling the in-process sending of messages from handling messages. Cross-platform, supporting .NET Framework 4.6.1 and netstandard2.0.
What is WCF? A runtime and a set of APIs for building connected, service-oriented applications. It is a framework for building service-oriented applications. Using this, you can send data as asynchronous messages from one service endpoint to another. A service endpoint can be part of a continuously available service hosted by IIS, or it can be a service hosted in an application.
MediatR and WCF can be primarily classified as "Message Queue" tools.
Pros of MediatR
Pros of WCF
- Classes5