I'm using Event Grid in a C# console app for send events that are stored in a QueueStorage account in Azure portal. The problem is ¿How can I receive the message stored in a C# console app? for example:
In the image you can see the topic created and the subscriptions that exist. So, the subscription "queue-sub" have stored all the messages sent from another C# console app. This C# console app implementing the library of eShopContainer of "EventBus"and I'm crating a library to use "EventGrid" with that Interface of "EventBus". For example:
public void Subscribe<T, TH>()
where T : IntegrationEvent
where TH : IIntegrationEventHandler<T>
{
}
This if a fragment code from that implement Interface "IEventBus" and that Interface told me that "I need subscribe for listening the events" but I don´t know how do that.
Here is the git link if you check the whole project that I'm working. https://github.com/Angel1803/EventGridListenerMessage.git