question

MrEdge-3552 avatar image
0 Votes"
MrEdge-3552 asked LanHuang-MSFT answered

How to count/check number of connection pools

Im using a third party tool and also HttpClient to make some calls to get data.

Most of the documentation states to have a single instance of third party tools for the HttpClient but how could i check how many open connections i have to determine what changes i may need to make or test? Any tools that could do this?

dotnet-csharpdotnet-aspnet-webapi
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LanHuang-MSFT avatar image
0 Votes"
LanHuang-MSFT answered

Hi @MrEdge-3552,
If you want to analyze in ASP.NET Web application, you can try using ADO.NET performance counters.
https://docs.microsoft.com/en-us/dotnet/framework/data/adonet/performance-counters?redirectedfrom=MSDN

Best regards,
Lan Huang


If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.