Listen NServiceBus messages in .NetCore WebAPI

My requirement is I want to listen NServiceBus messages in .Net Core WebAPI using IHostedService/BackgroundWorker. Can someone provide inputs or steps to do that?

Hi

Take a look at https://docs.particular.net/samples/hosting/generic-host/ and other hosting samples on our doco site.

Thank you. Can you please provide link of Doco site

Here’s the link to all the hosting-related samples https://docs.particular.net/samples/hosting/