Euonia.Bus.InMemory
10.4.2
dotnet add package Euonia.Bus.InMemory --version 10.4.2
NuGet\Install-Package Euonia.Bus.InMemory -Version 10.4.2
<PackageReference Include="Euonia.Bus.InMemory" Version="10.4.2" />
<PackageVersion Include="Euonia.Bus.InMemory" Version="10.4.2" />
<PackageReference Include="Euonia.Bus.InMemory" />
paket add Euonia.Bus.InMemory --version 10.4.2
#r "nuget: Euonia.Bus.InMemory, 10.4.2"
#:package Euonia.Bus.InMemory@10.4.2
#addin nuget:?package=Euonia.Bus.InMemory&version=10.4.2
#tool nuget:?package=Euonia.Bus.InMemory&version=10.4.2
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 (>= 10.4.2)
- Euonia.Core (>= 10.4.2)
- Euonia.Modularity (>= 10.4.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.2)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.2)
- Microsoft.Extensions.Options (>= 10.0.2)
- Newtonsoft.Json (>= 13.0.4)
-
net9.0
- Euonia.Bus.Abstract (>= 10.4.2)
- Euonia.Core (>= 10.4.2)
- Euonia.Modularity (>= 10.4.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.2)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.2)
- Microsoft.Extensions.Options (>= 10.0.2)
- 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 |
|---|---|---|
| 10.4.2 | 34 | 2/24/2026 |
| 10.4.1 | 93 | 2/12/2026 |
| 10.4.0 | 94 | 2/4/2026 |
| 10.3.0 | 110 | 1/16/2026 |
| 10.2.10 | 110 | 1/14/2026 |
| 10.2.9 | 98 | 1/14/2026 |
| 10.2.8 | 100 | 1/14/2026 |
| 10.2.7 | 106 | 1/10/2026 |
| 10.2.6 | 107 | 1/8/2026 |
| 10.2.5 | 103 | 1/7/2026 |
| 10.2.4 | 110 | 1/7/2026 |
| 10.2.3 | 100 | 1/7/2026 |
| 10.2.2 | 114 | 1/6/2026 |
| 10.2.1 | 104 | 1/6/2026 |
| 10.2.0 | 105 | 1/4/2026 |
| 10.1.11 | 281 | 12/19/2025 |
| 10.1.10 | 292 | 12/18/2025 |
| 10.1.6 | 290 | 12/17/2025 |
| 10.1.5 | 275 | 12/17/2025 |
| 10.1.0 | 278 | 12/17/2025 |