This solution has been migrated to https://github.com/Azure-Samples/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/
This will launch a custom template for the Azure portal instance that you are logged into.
This will take about 2-5 minutes to provision.
Launch the site to ensure that it is running. Make note of the address for the next step.
The event subscription endpoint will be the address with the following suffix: /api/updates.
For example: https://{{site-name}}.azurewebsites.net/api/updates
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