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?

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,236 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
294 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Lan Huang-MSFT 25,471 Reputation points Microsoft Vendor
    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