BareWire 2.0.4

dotnet add package BareWire --version 2.0.4
                    
NuGet\Install-Package BareWire -Version 2.0.4
                    
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="BareWire" Version="2.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BareWire" Version="2.0.4" />
                    
Directory.Packages.props
<PackageReference Include="BareWire" />
                    
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 BareWire --version 2.0.4
                    
#r "nuget: BareWire, 2.0.4"
                    
#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 BareWire@2.0.4
                    
#: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=BareWire&version=2.0.4
                    
Install as a Cake Addin
#tool nuget:?package=BareWire&version=2.0.4
                    
Install as a Cake Tool

BareWire

High-performance async messaging engine with zero-copy pipeline, credit-based flow control, and bounded channels.

BareWire is the core engine that wires up consumers, serializers, and transports into a zero-allocation pipeline. It provides DI integration, hosted service lifecycle, and the publish/consume machinery.

Installation

dotnet add package BareWire

Quick Start

var builder = Host.CreateApplicationBuilder(args);

builder.AddBareWire(wire =>
{
    wire.AddConsumer<OrderCreatedConsumer>();
    wire.UseJsonSerializer();
    wire.UseRabbitMq(rmq => rmq.Host("localhost"));
});

await builder.Build().RunAsync();

Features

  • Zero-copy pipeline using IBufferWriter<byte> and ArrayPool
  • Credit-based flow control with bounded channels
  • Publish-side backpressure with configurable limits
  • MassTransit-familiar API (IBus, IConsumer<T>)
  • Raw-first: no envelope by default

Documentation

Full documentation: barewire.wizardsoftware.pl

License

MIT

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 (10)

Showing the top 5 NuGet packages that depend on BareWire:

Package Downloads
BareWire.Saga

SAGA state machine for BareWire with deterministic scheduling and correlation support.

BareWire.Outbox

Transactional outbox and inbox pattern for BareWire ensuring exactly-once message delivery.

BareWire.Testing

In-memory test harness for BareWire with deterministic message delivery and assertion helpers.

BareWire.Benchmarks

Package Description

BareWire.Samples.MassTransitToBareWire

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.4 334 6/29/2026
2.0.3 250 6/28/2026
2.0.2 244 6/28/2026
2.0.1 239 6/28/2026
2.0.0 261 6/27/2026
1.5.1 197 6/23/2026
1.4.0 183 6/18/2026
1.3.1 182 6/16/2026
1.2.7 823 4/10/2026
1.2.6 161 4/9/2026
1.2.5 162 4/9/2026
1.2.4 151 4/9/2026
1.2.3 159 4/9/2026
1.2.1 163 4/6/2026
1.2.0 156 4/4/2026
1.1.0 176 3/29/2026
1.0.0 176 3/28/2026