Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/azure-samples/eventgrid-viewer-blazor
The EventGrid Viewer Blazor application can be used to view Azure EventGrid messages in realtime using ASP.Net Core Blazor & 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.
https://github.com/azure-samples/eventgrid-viewer-blazor
Last synced: 20 days ago
JSON representation
The EventGrid Viewer Blazor application can be used to view Azure EventGrid messages in realtime using ASP.Net Core Blazor & 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.
- Host: GitHub
- URL: https://github.com/azure-samples/eventgrid-viewer-blazor
- Owner: Azure-Samples
- License: mit
- Created: 2020-07-08T01:46:36.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-03T14:39:43.000Z (about 1 year ago)
- Last Synced: 2024-04-11T17:02:43.464Z (7 months ago)
- Language: C#
- Size: 1.73 MB
- Stars: 28
- Watchers: 14
- Forks: 19
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
---
page_type: sample
languages:
- csharp
products:
- aspnet
- azure-event-grid
description: The EventGrid Viewer Blazor application can be used to view Azure EventGrid messages in realtime using ASP.Net Core Blazor and SignalR.
urlFragment: 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](https://github.com/Azure-Samples/eventgrid-viewer-blazor/workflows/Build/badge.svg)
![overview diagram](./docs/images/overview.drawio.svg)
Building upon some of the ideas of the [azure-event-grid-viewer](https://github.com/Azure-Samples/azure-event-grid-viewer), the EventGrid Viewer Blazor application was written in [Blazor](https://dotnet.microsoft.com/apps/aspnet/web-apps/blazor) and offers the following features & enhancements:
1. View all Azure EventGrid messages in json format
1. View formatted & highlighted json
1. Copy json messages to the clipboard
1. Enable Azure AD authentication to secure the application## Screenshot
![eventgrid-viewer-blazor Screenshot](docs/images/eventgrid-viewer-blazor-screenshot.png)
## 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](#examples))*:
[![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure-Samples%2Feventgrid-viewer-blazor%2Fmain%2Finfrastructure%2Farm%2Fazuredeploy.json)
You will be presented with a screen similar to the image below:
![Deploy to Azure](docs/images/deploy-to-azure-no-auth.png)
Do the following:
1. Create or Select a Resource Group
1. Enter a Site Name
1. Enter a Hosting Plan Name
1. Hit the *Review + Create* button to validate & deploy the EventGrid Viewer Blazor applicationUse the Webhook endpoint:
```https://{{site-name}}.azurewebsites.net/api/eventgrid```
to [subscribe to EventGrid events](https://docs.microsoft.com/en-us/azure/event-grid/subscribe-through-portal).
## 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](examples).