How to count/check number of connection pools

Mr Edge 221 Reputation points
2022-08-15T07:49:29.723+00:00

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?

Developer technologies ASP.NET ASP.NET API
Developer technologies C#
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Lan Huang-MSFT 30,186 Reputation points Microsoft External Staff
    2022-08-16T02:24:24.09+00:00

    Hi @Mr Edge ,
    If you want to analyze in ASP.NET Web application, you can try using ADO.NET performance counters.
    https://learn.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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.