Euonia.Bus.InMemory
2026.3.9
dotnet add package Euonia.Bus.InMemory --version 2026.3.9
NuGet\Install-Package Euonia.Bus.InMemory -Version 2026.3.9
<PackageReference Include="Euonia.Bus.InMemory" Version="2026.3.9" />
<PackageVersion Include="Euonia.Bus.InMemory" Version="2026.3.9" />
<PackageReference Include="Euonia.Bus.InMemory" />
paket add Euonia.Bus.InMemory --version 2026.3.9
#r "nuget: Euonia.Bus.InMemory, 2026.3.9"
#:package Euonia.Bus.InMemory@2026.3.9
#addin nuget:?package=Euonia.Bus.InMemory&version=2026.3.9
#tool nuget:?package=Euonia.Bus.InMemory&version=2026.3.9
In-Memory Transport
The In-Memory Transport is a lightweight transport mechanism designed for scenarios where messages need to be exchanged within the same process or application domain. It is ideal for testing, development, and scenarios where low-latency communication is required without the overhead of network protocols.
Features
- Lightweight: Minimal overhead for message processing.
- Fast: Low-latency communication within the same application.
- Easy to Use: Simple setup and configuration.
- Ideal for Testing: Perfect for unit tests and local development.
Getting Started
To get started with the In-Memory transport in Euonia.Bus, follow these steps:
Add the In-Memory Transport Package: Include the Euonia.Bus.InMemory package in your project.
dotnet add package Euonia.Bus.InMemoryConfigure the In-Memory Transport: In your application's configuration file (e.g., appsettings.json), add the In-Memory transport settings under the
EuoniaBussection:{ "EuoniaBus": { "InMemory": { "Name": "InMemory" } } }Add Module Dependency: Add the In-Memory transport module dependency in your service module:
[DependsOn(typeof(InMemoryBusModule))] public class YourServiceModule : ModuleContextBase { public override void ConfigureServices(ServiceConfigurationContext context) { // Configure your services here } }Add Incoming/Outgoing Strategy: Implement the necessary message handling strategies for incoming and outgoing messages.
services.AddEuoniaBus(config => { config.SetStrategy("InMemory", builder => { builder.Add(new AttributeTransportStrategy(["InMemory"])); builder.Add<LocalMessageTransportStrategy>(); builder.EvaluateOutgoing(e => true); builder.EvaluateIncoming(e => true); }); });Run Your Application: Start your application, and it will now use In-Memory as the transport for Euonia.Bus.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Euonia.Bus.Abstract (>= 2026.3.9)
- Euonia.Core (>= 2026.3.9)
- Euonia.Modularity (>= 2026.3.9)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Options (>= 10.0.11)
- Newtonsoft.Json (>= 13.0.4)
-
net9.0
- Euonia.Bus.Abstract (>= 2026.3.9)
- Euonia.Core (>= 2026.3.9)
- Euonia.Modularity (>= 2026.3.9)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Options (>= 10.0.11)
- Newtonsoft.Json (>= 13.0.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.3.9 | 0 | 8/25/2026 |
| 2026.3.8 | 41 | 8/24/2026 |
| 2026.3.7 | 83 | 8/20/2026 |
| 2026.3.6 | 80 | 8/20/2026 |
| 2026.3.5 | 100 | 8/19/2026 |
| 2026.3.4 | 102 | 8/14/2026 |
| 2026.3.3 | 94 | 8/11/2026 |
| 2026.3.2 | 81 | 8/10/2026 |
| 2026.3.1 | 87 | 8/10/2026 |
| 10.4.3 | 154 | 4/9/2026 |
| 10.4.2 | 146 | 2/24/2026 |
| 10.4.1 | 145 | 2/12/2026 |
| 10.4.0 | 146 | 2/4/2026 |
| 10.3.0 | 162 | 1/16/2026 |
| 10.2.10 | 159 | 1/14/2026 |
| 10.2.9 | 151 | 1/14/2026 |
| 10.2.8 | 147 | 1/14/2026 |
| 10.2.7 | 158 | 1/10/2026 |
| 10.2.6 | 155 | 1/8/2026 |
| 10.2.5 | 153 | 1/7/2026 |