Flowly.AzureServiceBus.Aspire 1.6.0

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

Flowly.AzureServiceBus.Aspire

.NET Aspire AppHost integration for Flowly with Azure Service Bus. Automatically discovers queues and events from your service's FlowlyConfiguration and registers them with the Azure Service Bus emulator.

Setup

Reference the package with IsAspireProjectResource="false" in the AppHost .csproj:

<PackageReference Include="Flowly.AzureServiceBus.Aspire" IsAspireProjectResource="false" />

Quick Start

// AppHost Program.cs
var azureServiceBus = builder
    .AddAzureServiceBus("EmulatorNamespace")
    .RunAsEmulator();

var backendProcessor = builder.AddProject<Projects.BackendProcessor>("BackendProcessor");

// Auto-discovers queues from the project's FlowlyConfiguration
azureServiceBus.AddFlowly(backendProcessor);

backendProcessor
    .WithReference(azureServiceBus)
    .WaitFor(azureServiceBus);

Message Time to Live

Queues and topics get the time to live configured in Flowly ([DefaultMessageTimeToLive], 1 day by default; Flowly's internal job state queues ask for 14 days). When the Service Bus resource runs as the emulator (RunAsEmulator), a longer time to live is capped at 1 hour, the emulator's maximum; this happens when the AppHost starts, so RunAsEmulator may be called before or after AddFlowly. A real Azure Service Bus namespace keeps the configured value.

RPC Call Handlers (AddCallSubmitter)

When a service registers an RPC call submitter with AddCallSubmitter<TMessage>(), it owns a reply queue per call queue, named {callQueue}-reply-{InstanceName} with the default kebab-case resolver (e.g. call-reply-sender for CallMessage and the instance name sender). The emulator must have these queues pre-created, so call AddFlowly for the sender project too — and pass the instanceName that matches FlowlyOptions.InstanceName set in the sender's Program.cs:

// Sender's Program.cs (runtime)
builder.AddFlowly<FlowlyConfiguration>(options =>
{
    options.CreateTopology = false;
    options.InstanceName = "sender";   // determines the reply queue names
});

// AppHost Program.cs
azureServiceBus.AddFlowly(receiver);                         // registers the main queue
azureServiceBus.AddFlowly(sender, instanceName: "sender");   // registers the reply queues

Without instanceName, AddFlowly cannot form the correct reply queue names at design time and the call will fail at runtime because the queues do not exist in the emulator.

Explicit Topology

For services that use inline AddFlowly() (no FlowlyConfiguration subclass), declare topology explicitly:

azureServiceBus.AddFlowly(backendProcessor, topology =>
    topology
        .AddQueue("order-created")
        .AddEventSubscription<OrderProcessedEvent>("finance-order-processed-event-handler"));

Documentation

https://rasmustherkelsen.github.io/flowly/

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
1.6.0 49 12/1/2026
1.5.1 45 12/1/2026
1.5.0 105 11/20/2026
1.4.4 164 8/27/2026
1.4.3 136 8/13/2026
1.4.2 122 8/13/2026
1.4.1 138 8/11/2026
1.4.0 145 8/11/2026
1.3.2 154 7/3/2026
1.3.1 147 6/26/2026
1.3.0 148 6/24/2026
1.2.0 173 5/27/2026
1.1.1 144 5/22/2026
1.1.0 152 5/18/2026
1.0.1 136 5/6/2026
1.0.0 136 5/6/2026