A lightweight, extensible messaging framework for .NET supporting pub/sub and request-response patterns with multiple broker integrations.
SlimMessageBus is a lightweight messaging framework for .NET that provides a unified interface for asynchronous communication patterns like publish-subscribe and request-response. It solves the problem of tightly coupled components by enabling message-based decoupling, and it supports integration with numerous message brokers through a plugin system. Developers use it to build scalable, maintainable applications where different parts need to communicate without direct dependencies.
.NET developers building distributed systems, microservices, or event-driven applications that require reliable, broker-agnostic messaging. It's particularly useful for teams needing to support multiple messaging infrastructures or swap brokers without rewriting application logic.
Developers choose SlimMessageBus for its extensible plugin architecture, minimal dependencies, and seamless integration with .NET's dependency injection. Its facade design allows the core application to remain independent of the underlying messaging transport, reducing vendor lock-in and simplifying testing with in-memory providers.
Lightweight message bus interface for .NET (pub/sub and request-response) with transport plugins for popular message brokers.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports Kafka, RabbitMQ, Azure EventHubs, MQTT, Redis, and more via dedicated transport plugins, allowing infrastructure-agnostic design without vendor lock-in.
Offers plugins for serialization (JSON, Avro, Protobuf), validation, transactional outbox, and AsyncAPI generation, enabling easy customization and integration.
Built to work natively with .NET dependency injection, making service registration straightforward and consistent with modern .NET practices.
Provides a fluent API that supports modular configuration, ideal for complex applications and modular monoliths as highlighted in the documentation.
Compared to established frameworks like MassTransit, it has a smaller community and fewer third-party integrations, which can mean slower issue resolution and less shared knowledge.
The fluent configuration, while powerful, can become verbose and complex, especially when setting up multiple child buses or advanced interceptor pipelines.
Some advertised features, like the SQL transport provider, are marked as 'pending' in the NuGet table, indicating not all capabilities are fully implemented or stable.
SlimMessageBus is an open-source alternative to the following products:
MassTransit is a free, open-source distributed application framework for .NET that implements message-based, loosely-coupled asynchronous communication using messaging patterns.
A simple, unambitious mediator implementation in .NET for sending commands, queries, and notifications with in-process messaging.