Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 2.54 KB

README.md

File metadata and controls

56 lines (36 loc) · 2.54 KB
page_type languages products description urlFragment
sample
csharp
aspnet
azure-event-grid
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.

Build

overview diagram

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:

  1. View all Azure EventGrid messages in json format
  2. View formatted & highlighted json
  3. Copy json messages to the clipboard
  4. Enable Azure AD authentication to secure the application

Screenshot

eventgrid-viewer-blazor 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):

Deploy to Azure

You will be presented with a screen similar to the image below:

Deploy to Azure

Do the following:

  1. Create or Select a Resource Group
  2. Enter a Site Name
  3. Enter a Hosting Plan Name
  4. 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.