简化了 .NET 中的进程中讯息

2月 23, 2026
MediatR 实现了可扩展、可维护的 .NET 架构,具有解耦逻辑、经过验证的消息模式和对灵活中间件的支持。

继续用英语阅读:

MediatR, by Lucky Penny Software, is a .NET library that implements the mediator and command dispatcher patterns to simplify in-process messaging within applications. It provides a clean and consistent way to handle requests, commands, queries, and notifications, while reducing direct dependencies between components. MediatR integrates with Clean and Vertical Slice architectures, making it a trusted solution for modern .NET development.

By decoupling components and centralizing message handling, MediatR improves maintainability, testability, and code organization. It helps teams manage growing applications without unnecessary complexity and supports clear separation of concerns. Suitable for everything from modern APIs and microservices to large enterprise systems, MediatR enables developers to build scalable, flexible architectures that can evolve with business needs.

MediatR is licensed on an annual subscription basis per development team, with Standard (1–10 developers), Professional (11–50 developers), and Enterprise (unlimited developers) tiers. See our MediatR licensing page for full details.

For more information, visit our MediatR product page.