botbuilder-community-dotnet
botbuilder-community-dotnet copied to clipboard
HttpClient is instantiated for every request
I can see a lot of the code isn't following .NET best practice to reuse HttpClient instances for each domain. Please see details here where it describes:
If you instantiate an HttpClient class for every request, the number of sockets available under heavy loads will be exhausted. This exhaustion will result in SocketException errors.