Skip to content

Live view of events from Azure Event Grid with ASP.NET Core and SignalR

License

Notifications You must be signed in to change notification settings

Azure-Samples/azure-event-grid-viewer

Repository files navigation

page_type languages products description
sample
csharp
dotnet
azure
azure-event-grid
Source code for a site that displays events from Azure Event Grid in near-real time.

Azure Event Grid Viewer

This repository contains the source code for a site that displays events from Azure Event Grid in near-real time. It is built on ASP.NET Core and leverages SignalR to display incoming messages.

For details about how it was put together, please refer to the accompanying blog post.

Deploy the solution

1. Select Deploy to Azure

This will launch a custom template for the Azure portal instance that you are logged into.

2. Fill out the required fields

This will take about 2-5 minutes to provision.

Custom deployment

3. Launch the site

Launch the site to ensure that it is running. Make note of the address for the next step.

4. Register the endpoint as an event subscription

The event subscription endpoint will be the address with the following suffix: /api/updates.

For example: https://{{site-name}}.azurewebsites.net/api/updates

5. References