Logo

Overview

  • Setup
  • License key configuration

Features

  • Requests and responses
  • Streams and AsyncEnumerables
  • Notifications
  • Behaviors
  • Generic requests and handlers
  • Polymorphic dispatch
  • Async
  • Exception handling
  • Container feature support

Migration guides

  • Migration guide: 14.x to 15.0
  • Migration guide: 12.0 to 12.1
  • Migration guide: 11.x to 12.0
  • Migration guide: 10.x to 11.0
  • Migration guide: 9.x to 10.0
  • Migration guide: 4.x to 5.0
  • Migration guide: 3.x to 4.0
MediatR
  • MediatR
  • View page source

MediatR

MediatR is a low-ambition library trying to solve a simple problem: decoupling the in-process sending of messages from handling messages. Cross-platform, supporting netstandard2.0.

MediatR has two kinds of messages it dispatches:

  • Request/response messages, dispatched to a single handler

  • Notification messages, dispatched to multiple handlers

New to MediatR? Check out the Setup page first.

Overview

  • Setup
  • License key configuration
    • License Enforcement
    • Client Redistribution Scenarios
    • Auto-discovery via environment variables
    • Renewal grace period
    • Troubleshooting license key validation

Features

  • Requests and responses
    • Request types
  • Streams and AsyncEnumerables
  • Notifications
    • Custom notification publishers
  • Behaviors
    • Compatibility of pipeline behaviors
    • Registering pipeline behaviors
    • Void Requests
    • Built-in behaviors
    • Stream Pipeline Behaviors
  • Generic requests and handlers
    • Configuration
    • Implementation
  • Polymorphic dispatch
  • Async
  • Exception handling
    • Exception handler pipeline step
    • Exception action pipeline step
    • Handlers and actions priority execution
    • Override handler/action
    • Exception handler vs Exception action
  • Container feature support

Migration guides

  • Migration guide: 14.x to 15.0
  • Migration guide: 12.0 to 12.1
  • Migration guide: 11.x to 12.0
  • Migration guide: 10.x to 11.0
  • Migration guide: 9.x to 10.0
  • Migration guide: 4.x to 5.0
  • Migration guide: 3.x to 4.0
Next

© Copyright Lucky Penny Software.

Built with Sphinx using a theme provided by Read the Docs.