Skip to main content

Package Selection

SimpleMessageBus is distributed as multiple NuGet packages based on the provider you want to use. Choose the packages that match your infrastructure and requirements.

Core Packages

SimpleMessageBus.Core

Core interfaces and base classes. Required by all other packages.

SimpleMessageBus.Hosting

Hosting extensions for background services and message processing.

Publishing Packages

File System PublisherBasic file system-based message publishing. Good for development and simple scenarios.
Azure Storage Queue PublisherPublishes messages to Azure Storage Queues.
Dependencies:
  • Azure.Storage.Queues
  • Microsoft.Extensions.DependencyInjection
Amazon SQS PublisherPublishes messages to Amazon SQS queues.
Dependencies:
  • AWSSDK.SQS
  • Microsoft.Extensions.DependencyInjection
IndexedDB Publisher (Blazor WebAssembly)Client-side message publishing using browser IndexedDB.
Requirements:
  • Blazor WebAssembly project
  • .NET 8+ target framework

Dispatching Packages

Core DispatcherBase dispatcher functionality and interfaces.
Azure Storage Queue DispatcherProcesses messages from Azure Storage Queues.
Amazon SQS DispatcherProcesses messages from Amazon SQS queues.
File System DispatcherProcesses messages from file system storage. Includes Azure Functions trigger support.
IndexedDB Dispatcher (Blazor WebAssembly)Client-side message processing using browser IndexedDB.

Testing Package

SimpleMessageBus.Breakdance

Testing utilities and mocks for unit testing message handlers.

Installation by Scenario

Web Application with Azure Storage

For ASP.NET Core applications using Azure Storage Queues:

Console Application with Amazon SQS

For console applications using Amazon SQS:

Azure Functions

For Azure Functions with file system triggers:

Blazor WebAssembly

For client-side Blazor applications:

Development and Testing

For development and testing scenarios:

Framework Requirements

SimpleMessageBus requires .NET 8.0 or later. It supports .NET 8, 9, and 10.

Supported Platforms

  • Windows: Full support for all providers
  • Linux: Full support for all providers
  • macOS: Full support for all providers
  • Browser (Blazor WebAssembly): IndexedDB provider only

Target Frameworks

All packages multi-target the following frameworks:
  • net8.0
  • net9.0
  • net10.0

Package Manager Commands

Package Manager Console

PackageReference

Add to your .csproj file:

Verification

After installation, verify the packages are correctly installed:
You should see the SimpleMessageBus packages listed with their version numbers.

Next Steps

After installation, proceed to:

Quick Start

Get up and running in 5 minutes

Provider Configuration

Configure your chosen provider

Troubleshooting

Common Issues

Ensure all SimpleMessageBus packages are using the same version. Use dotnet list package --outdated to check for version mismatches.
SimpleMessageBus requires .NET 8.0 or later. Update your project’s target framework if necessary:
Some providers have additional dependencies that should be automatically installed. If you encounter missing assembly errors, try restoring packages:
For additional help, visit our GitHub Issues page.