page_type | languages | products | description | urlFragment | |||
---|---|---|---|---|---|---|---|
sample |
|
|
The EventGrid Viewer Blazor application can be used to view Azure EventGrid messages in realtime using ASP.Net Core Blazor and SignalR. |
eventgrid-viewer-blazor |
EventGrid Viewer Blazor application
The EventGrid Viewer Blazor application can be used to view Azure EventGrid messages in realtime using ASP.Net Core Blazor and SignalR. For those who would like to secure the application, the EventGrid Viewer Blazor application can be easily configured via appsettings to use Azure AD authentication, Azure KeyVault & Managed Identities.
Building upon some of the ideas of the azure-event-grid-viewer, the EventGrid Viewer Blazor application was written in Blazor and offers the following features & enhancements:
- View all Azure EventGrid messages in json format
- View formatted & highlighted json
- Copy json messages to the clipboard
- Enable Azure AD authentication to secure the application
Screenshot
Usage
To quickly deploy the EventGrid Viewer Blazor application to Azure, hit the button below (for examples on how to deploy with Azure AD authentication, see the examples section):
You will be presented with a screen similar to the image below:
Do the following:
- Create or Select a Resource Group
- Enter a Site Name
- Enter a Hosting Plan Name
- Hit the Review + Create button to validate & deploy the EventGrid Viewer Blazor application
Use the Webhook endpoint:
https://{{site-name}}.azurewebsites.net/api/eventgrid
to subscribe to EventGrid events.
Examples
In the examples folder, examples have been created to demonstrate how to automate the deployment of the EventGrid Viewer Blazor application with or without authentication. You can read more here.