On ASP.Net WebAPI site there is a sample code that demonstrates invoking a WebAPI using HTTPClient from a console app (link provided below). The document also cautions that HTTPClient can be instantiated only once for the life of the client application to prevent socket exception. Is there a simple way to implement this in a ASP.Net MVC or Web Forms application ? (C#)
https://docs.microsoft.com/en-us/aspnet/web-api/overview/advanced/calling-a-web-api-from-a-net-client