Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Service Bus Emulator ExplorerNew to Visual Studio Code? Get it now.
Service Bus Emulator Explorer

Service Bus Emulator Explorer

Rodrigo Piccelli

|
5 installs
| (0) | Free
Browse queues, topics, peek and send messages on the Azure Service Bus Emulator
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Service Bus Emulator Explorer

Browse queues, topics, and subscriptions on the Azure Service Bus Emulator directly from VS Code.

Existing extensions for Azure Service Bus depend on the management REST API, which the emulator does not support. This extension uses a .NET sidecar with the full Azure SDK, so everything works out of the box with the local emulator.

Features

  • Browse entities — Tree view showing connections, queues (with message counts), topics, and subscriptions
  • Peek messages — View messages without consuming them, with expandable JSON body and metadata
  • Send messages — Compose and send test messages with custom body, content type, subject, correlation ID, and application properties
  • Purge messages — Bulk-delete all messages from a queue or subscription
  • Delete individual messages — Remove specific messages by sequence number
  • Multiple connections — Manage several emulator instances or configurations side by side
  • Auto-refresh — Configurable automatic refresh for both the tree view and message panels

Requirements

  • .NET 8.0 Runtime or SDK installed and on PATH
  • Azure Service Bus Emulator running (Docker)

Getting Started

  1. Open the Service Bus Emulator panel in the Activity Bar
  2. Click the + button in the view title to add a connection
  3. Enter a display name, the AMQP connection string, and the admin HTTP connection string

Default Emulator Connection Strings

Setting Default Value
Messaging (AMQP) Endpoint=sb://localhost;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true
Admin (HTTP) Endpoint=http://localhost:5300;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true

Extension Settings

Setting Default Description
serviceBusEmulator.peekMessageCount 25 Number of messages to peek at a time (1–100)
serviceBusEmulator.autoRefreshInterval 30 Tree view auto-refresh interval in seconds (0 to disable)
serviceBusEmulator.dotnetPath dotnet Path to the dotnet executable

Known Limitations

  • Message counts via AMQP peek — The emulator admin API returns zero counts, so the extension peeks up to 100 messages to estimate counts. Queues with more than 100 messages will show "100".
  • Requires .NET 8 — The sidecar must run with dotnet. A clear error message is shown if it is not found.
  • Emulator only — This extension is designed for the local Service Bus Emulator, not for Azure Service Bus in the cloud (use the official Azure Tools extension for that).

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft