I am working on a .NET Core project. I am trying to connect to the service bus queue using a connection string. I am able access the service bus with QueueClient using the API function 'new QueueClient(< connection string >, < queue name >). However Queue client does not have any functions to get the size / message count.
I have tried the NamespaceaManager.CreateFromConnectionString (< connection string >) function, but looks like its been deprecated in .NET Core (and it keeps throwing dependency errors).
I tried the Microsoft.Azure.Management.Fluent package but could not get it to work either.
Are any of these the right way to do it, and is there any other way to make this work?