Using an ASP.NET Core IHostedService to run Azure Service Bus subscriptions and consumers

added by DotNetKicks
7/20/2021 8:29:19 AM

744 Views

This post shows how Azure Service bus subscription for topics or consumers for a queue, or can be used inside an ASP.NET Core application. The Azure Service Bus client listens to events and needs to be started, stopped and registered to the topic to receive messages. An IHostedService is used for this.


0 comments