LineTen.Messaging.Bus.InMemory 2.0.112

dotnet add package LineTen.Messaging.Bus.InMemory --version 2.0.112
                    
NuGet\Install-Package LineTen.Messaging.Bus.InMemory -Version 2.0.112
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LineTen.Messaging.Bus.InMemory" Version="2.0.112" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LineTen.Messaging.Bus.InMemory" Version="2.0.112" />
                    
Directory.Packages.props
<PackageReference Include="LineTen.Messaging.Bus.InMemory" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LineTen.Messaging.Bus.InMemory --version 2.0.112
                    
#r "nuget: LineTen.Messaging.Bus.InMemory, 2.0.112"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package LineTen.Messaging.Bus.InMemory@2.0.112
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LineTen.Messaging.Bus.InMemory&version=2.0.112
                    
Install as a Cake Addin
#tool nuget:?package=LineTen.Messaging.Bus.InMemory&version=2.0.112
                    
Install as a Cake Tool

LineTen.Messaging.Bus.InMemory

In-process transport for LineTen messaging v3, built on System.Threading.Channels. Intended for tests and local development. Implements the same transport seam as LineTen.Messaging.Bus.AzureServiceBus and passes the same conformance fixture.

Registration

services.AddLineTenMessaging("service-name")
    .AddBus<OrdersBus>(b => b.UseInMemory());

UseInMemory<TBus>(InMemoryTransportOptions? options = null). Defaults to InMemoryTransportOptions.ForTest().

Options

Option Default Purpose
DefaultChannelCapacity 1000 Bounded capacity per channel.
EnvironmentOverride "Test" via ForTest() Used instead of ASPNETCORE_ENVIRONMENT for the construction guard below.

Behaviour

  • Construction throws InvalidOperationException unless the effective environment (EnvironmentOverride, else ASPNETCORE_ENVIRONMENT) is Development, Test or Staging.
  • One channel per subscription; filters are evaluated in-process with the same semantics as the Service Bus SQL filters.
  • Each live subscription has a paired dead-letter channel. Dead-lettering clones the in-flight message onto it with a synthesised DeadLetterContext.
  • IMessageContext exposes MessageId, CorrelationId, DeliveryCount, EnqueuedAtUtc and Properties from the published envelope.
  • No redelivery: DeliveryCount is 1 on the live channel.
  • No payload size limit.

Version notes

2.0.112

  • IMessageContext.CorrelationId populated from the published envelope.
  • DeadLetterContext.CorrelationId set from the same envelope when a message is dead-lettered.
Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
2.0.112 109 9/7/2026
2.0.111 119 7/13/2026
2.0.110 167 6/23/2026
2.0.109 124 6/19/2026
2.0.108 124 6/17/2026
2.0.107 130 6/12/2026
2.0.106 125 6/1/2026
2.0.105 118 6/1/2026
2.0.104 119 6/1/2026
2.0.103 119 5/28/2026
2.0.102 122 5/27/2026
2.0.101 99 5/21/2026
2.0.100 113 5/20/2026
2.0.99 110 5/18/2026
2.0.98 116 5/18/2026
2.0.97 113 5/14/2026
2.0.96 107 5/14/2026
2.0.95 118 5/14/2026