ServiceBusEmulatorConfig.Core
1.1.0
dotnet add package ServiceBusEmulatorConfig.Core --version 1.1.0
NuGet\Install-Package ServiceBusEmulatorConfig.Core -Version 1.1.0
<PackageReference Include="ServiceBusEmulatorConfig.Core" Version="1.1.0" />
<PackageVersion Include="ServiceBusEmulatorConfig.Core" Version="1.1.0" />
<PackageReference Include="ServiceBusEmulatorConfig.Core" />
paket add ServiceBusEmulatorConfig.Core --version 1.1.0
#r "nuget: ServiceBusEmulatorConfig.Core, 1.1.0"
#:package ServiceBusEmulatorConfig.Core@1.1.0
#addin nuget:?package=ServiceBusEmulatorConfig.Core&version=1.1.0
#tool nuget:?package=ServiceBusEmulatorConfig.Core&version=1.1.0
Tools to work efficiently with the Azure Service Bus [Emulator] (Work in progress)
Features
- Convert Azure Service Bus Namespace ARM template to Azure Service Bus emulator configuration.
- Inspect Azure Service Bus Namespace
- See Topic, subscriptions and rules
- See Queues
Next features
- Peak messages
- Send messages
The tool
Install the NuGet.org version as: $ dotnet tool install --global ServiceBusEmulatorConfig.Cli, it is invoked by $ sbconfig.
Install, or update, from source:
$ pushd ServiceBusEmulatorConfig.Cli$ dotnet pack -c Release -p:PackageVersion 1.0.1$ dotnet tool install -g SerbiceBusEumlatorConfig.Cli --add-source nupkg/
ARM to emulator config
The ARM template must be manually downloaded or compiled using $ az bicep build --file <bicep.bicep>
$ sbconfig transform --help
Description:
Transform Azure Service Bus ARM template to Emulator config
Usage:
ServiceBusEmulatorConfig.Cli transform [options]
Options:
-i, --input <input> (REQUIRED) Path to the ARM template JSON file
-o, --output <output> (REQUIRED) Path to save the generated emulator config file
-n, --namespace <namespace> The namespace name to use in the emulator config [default: sbemulatorns]
-?, -h, --help Show help and usage information
Aspire usage
Mount the config file:
var serviceBus = builder
.AddAzureServiceBus("esb")
.RunAsEmulator(em =>
{
em.WithBindMount("Config.json", "/ServiceBus_Emulator/ConfigFiles/Config.json");
});
NB: This runs as docker, so the Config.json must be at the root, or below, of the Aspire project.
Docker usage
Given the example from Microsoft, specify the path to the outputted Config.json in the .env file. Remember, rhis runs as docker, so the Config.json must be at the root, or below, of the Aspire project.
Inspect Azure Service Bus Namespace
Until Azure/azure-service-bus-emulator-installer/issues/17 have been resolved, we cannot use the explorer (or any viwer) for the emulator...
But the explorer is cross platform, and can be launched as $ sbconfig explorer.
This launched as local web api and the explorer is simply a webinterface - crossplatform without hazzle 😃
For now, the repo must be cloned and executed manually.
Contribute
Feel free to open an issue or PR! 🚀
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. 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 was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Azure.Messaging.ServiceBus (>= 7.19.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on ServiceBusEmulatorConfig.Core:
| Package | Downloads |
|---|---|
|
ServiceBusEmulatorConfig.Web
Web application for Azure Service Bus Emulator Configuration |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.1.0 | 146 | 5/24/2025 |
| 0.0.1-rc.1 | 88 | 5/24/2025 |