I'm looking for the best practices for creating multiple Microsoft.Azure.ServiceBus.QueueClient instances in .Net Core using Dependency Injection. Should instances be singleton, for example? I couldn't find any official guidance on this.
Currently I am resolving one instance as a singleton, but a new requirement has necessitated that I instantiate multiple QueueClient instances for different queues using the same connection string.
The concern is connection pooling and lifetime, and how this is/should be managed. I've found mentions of MessagingFactory in .NET Framework, but not much info about the equivalent (if any) in .NET Core.