Live view of events from Azure Event Grid with ASP.NET Core and SignalR
Branch: master
Clone or download
Latest commit 6e018da Aug 23, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Initial commit Aug 22, 2018
.vscode Initial revision Aug 23, 2018
viewer Initial revision Aug 23, 2018
.gitignore Initial commit Aug 22, 2018
AzureEventGridViewer.sln Initial revision Aug 23, 2018
CHANGELOG.md Initial commit Aug 22, 2018
CONTRIBUTING.md Initial commit Aug 22, 2018
LICENSE.md Initial commit Aug 22, 2018
README.md Initial revision Aug 23, 2018
azuredeploy.json Initial revision Aug 23, 2018
customdeployment_sm.png Updated image Aug 23, 2018

README.md

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 2.1 and leverages SignalR to display incoming messages.

For details about how it was put together, please refer to the accompanying blog post: https://madeofstrings.com/2018/03/14/azure-event-grid-viewer-with-asp-net-core-and-signalr/

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.

alt text

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

Routing events to a custom endpoint: https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-event-quickstart?toc=%2fazure%2fevent-grid%2ftoc.json