awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
LuckyPennySoftware avatar

LuckyPennySoftware/MediatR

0
View on GitHub↗
11,840 stars·2,196 forks·C#·12 views

MediatR

MediatR is a .NET mediator pattern library that serves as an in-process message broker. It decouples message senders from handlers by using a central mediator to route requests, commands, and events.

The system functions as a request-response dispatcher that routes single requests to dedicated handlers and an event publisher that broadcasts notifications to multiple decoupled handlers for simultaneous processing. It also provides pipeline behavior middleware to execute shared pre- and post-processing logic across incoming messages.

The library handles in-process message dispatching and decoupled message routing, enabling request-response handling and asynchronous event broadcasting. These capabilities allow for cross-cutting pipeline logic to be applied to the communication flow.

Features

  • Mediator Patterns - Provides a comprehensive implementation of the mediator pattern to decouple message senders from handlers in .NET.
  • In-Process Message Routing - Routes messages to dedicated handlers within a single application process to eliminate direct dependencies.
  • In-Process - Functions as a lightweight in-process broker for dispatching messages between components without direct dependencies.
  • Decoupled Message Delivery - Eliminates direct references between message senders and receivers using a mediator for routing.
  • Decoupled Request Handling - Processes a single request through a dedicated handler and returns a specific result to the caller.
  • Dependency Injection Containers - Resolves message handlers from a service container to decouple senders from specific receiver implementations.
  • Notification Broadcasting - Broadcasts a single notification to all registered handlers, allowing multiple components to react to the same event.
  • Pipeline Behavior Frameworks - Implements a framework for intercepting and processing messages through a sequence of custom reusable behaviors.
  • Composable Middleware Pipelines - Provides a chain of decorators to execute shared pre and post processing logic for all requests.
  • In-Process Request Dispatchers - Routes internal application requests to a single handler and returns the corresponding result.
  • Event Systems - Acts as an event system that broadcasts notifications to multiple decoupled handlers for simultaneous processing.
  • Type-Safe Dispatching - Uses generic type constraints to guarantee that handlers return the specific response type expected by the caller.
  • Async Flow Patterns - Implements asynchronous request and notification handling using the .NET Task-based asynchronous pattern.
  • Cross-Cutting Concern Automations - Automates cross-cutting concerns like logging and validation by wrapping request handlers in a pipeline.

Star history

Star history chart for luckypennysoftware/mediatrStar history chart for luckypennysoftware/mediatr

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to MediatR

Similar open-source projects, ranked by how many features they share with MediatR.
  • jbogard/mediatrjbogard avatar

    jbogard/MediatR

    11,841View on GitHub↗

    MediatR is a .NET library for implementing the mediator pattern, serving as an in-process message broker that decouples senders and receivers by routing messages through a central dispatcher. It enables the transmission of requests and notifications between different components within a single application process. The framework provides a pipeline behavior system that allows for the interception and processing of messages through a sequence of custom behaviors. This architecture is used to implement cross-cutting concerns, such as logging or validation, across multiple handlers. The library

    C#
    View on GitHub↗11,841
  • dotnet-architecture/eshoponwebdotnet-architecture avatar

    dotnet-architecture/eShopOnWeb

    10,676View on GitHub↗

    eShopOnWeb is a reference application for ASP.NET Core that demonstrates a sample e-commerce site. It serves as a template for building scalable services using domain-driven design to separate business logic from infrastructure and data access. The project implements a decoupled messaging pattern through a request pipeline to separate web controllers from application logic. It utilizes a repository pattern to abstract data persistence and isolate the core application logic from the specific database storage mechanism. The application covers a broad surface of web capabilities, including user

    C#architectureasp-net-coreasp-net-core-mvc
    View on GitHub↗10,676
  • litestar-org/litestarlitestar-org avatar

    litestar-org/litestar

    8,302View on GitHub↗

    Litestar is a high-performance Python ASGI web framework designed for building asynchronous APIs and web services. It functions as a type-safe toolkit that leverages Python type hints to provide automatic request validation and response serialization, while natively generating interactive API documentation based on the OpenAPI specification. The framework is distinguished by its integrated dependency injection system, which manages shared resources and resolves complex nested service chains directly within request handlers. It further organizes API development through class-based controllers

    Pythonapiasgiasyncio
    View on GitHub↗8,302
  • microsoft/agent-frameworkmicrosoft avatar

    microsoft/agent-framework

    7,277View on GitHub↗

    The agent-framework is an LLM agent orchestration framework and multi-agent workflow engine designed for building autonomous AI agents. It provides a tool integration layer for binding external functions, APIs, and sandboxed code as executable tools for language models. The framework distinguishes itself through a graph-based system for designing sequential and parallel task flows, featuring state management and checkpointing for long-running processes. It implements comprehensive conversational state management and an observability suite that uses telemetry to trace execution flows and monit

    Pythonagent-frameworkagentic-aiagents
    View on GitHub↗7,277
See all 30 alternatives to MediatR→

Frequently asked questions

What does luckypennysoftware/mediatr do?

MediatR is a .NET mediator pattern library that serves as an in-process message broker. It decouples message senders from handlers by using a central mediator to route requests, commands, and events.

What are the main features of luckypennysoftware/mediatr?

The main features of luckypennysoftware/mediatr are: Mediator Patterns, In-Process Message Routing, In-Process, Decoupled Message Delivery, Decoupled Request Handling, Dependency Injection Containers, Notification Broadcasting, Pipeline Behavior Frameworks.

What are some open-source alternatives to luckypennysoftware/mediatr?

Open-source alternatives to luckypennysoftware/mediatr include: jbogard/mediatr — MediatR is a .NET library for implementing the mediator pattern, serving as an in-process message broker that… dotnet-architecture/eshoponweb — eShopOnWeb is a reference application for ASP.NET Core that demonstrates a sample e-commerce site. It serves as a… microsoft/agent-framework — The agent-framework is an LLM agent orchestration framework and multi-agent workflow engine designed for building… litestar-org/litestar — Litestar is a high-performance Python ASGI web framework designed for building asynchronous APIs and web services. It… nopsolutions/nopcommerce — nopCommerce is an open-source ASP.NET Core eCommerce platform and shopping cart designed to manage digital product… kamranahmedse/design-patterns-for-humans — This project is a comprehensive educational resource designed to help developers master object-oriented design and…