LupusBytes.Aspire.Hosting.Azure.EventHubs.LiveExplorer 1.3.3

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

Event Hub Live Explorer

Event Hub Live Explorer is a Blazor-based frontend for interacting with Azure Event Hubs. It provides a streamlined interface for both sending and receiving events in real time, making it a valuable tool for local development, testing, and diagnostics.

Built with .NET Aspire in mind, it integrates smoothly into Aspire dashboards and enhances the developer experience when working with event-driven systems.


✨ Features

  • 📤 Send messages directly to Event Hubs
  • 📥 Read events from multiple partitions in real time
  • 🛠️ Integrates with .NET Aspire
  • 🧪 Ideal for local development and testing of event-based systems

📷 Screenshot

Event Hub Live Explorer example screenshot

🚀 Getting Started

🧩 Usage in Aspire

Prerequisites

Install NuGet package LupusBytes.Aspire.Hosting.Azure.EventHubs.LiveExplorer in your Aspire AppHost project.

dotnet add package LupusBytes.Aspire.Hosting.Azure.EventHubs.LiveExplorer
Add Event Hub Live Explorer to your Aspire Dashboard
var explorer = builder.AddEventHubLiveExplorer();
Reference an Event Hub
var eventHub = builder
   .AddAzureEventHubs("event-hub-namespace").RunAsEmulator()
   .AddEventHub("event-hub");

explorer.WithReference(eventHub);

This makes the Event Hub Live Explorer connect to the Event Hub, using the $Default consumer group.

Use a different consumer group
var eventHubWithCustomConsumerGroup = eventHub.AddConsumerGroup("explorer");
explorer.WithReference(eventHubWithCustomConsumerGroup)
Add all Event Hubs automatically

To reduce boilerplate, a convenience method exists to reference all Event Hubs and create consumer groups on them (if they don’t already exist):

builder
   .AddAzureEventHubs("event-hub-namespace").RunAsEmulator()
   .AddEventHub("event-hub1")
   .AddEventHub("event-hub2")
   .AddEventHub("event-hub3")
   .AddEventHub("event-hub4");

explorer.WithAutoReferences(consumerGroupName: "explorer");

This will scan the application model for Azure Event Hub resources and add them as references using the provided consumer group.

⚠️ This method must be called after every desired Azure Event Hub has already been added to the application model. Azure Event Hubs added after invocation of this method will not be referenced!

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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. 
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.3.3 10 8/2/2025
1.3.2 12 8/2/2025
1.3.1 94 7/27/2025
1.3.0 91 7/27/2025
1.2.0 266 7/25/2025
1.1.1 438 7/24/2025
1.1.0 433 7/24/2025