kevbite / CompaniesHouse.NET

A simple .NET client wrapper for CompaniesHouse API
MIT License
37 stars 44 forks source link

Use only one HttpClient for all requests #43

Closed kevbite closed 8 years ago

kevbite commented 8 years ago

We should be using one HttpClient for all requests until the CompaniesHouseClient is disposed.

See http://aspnetmonsters.com/2016/08/2016-08-27-httpclientwrong/

kevbite commented 8 years ago

Now only using one HttpClient but the CompaniesHouseClient now needs to be disposed after use. Version 3.1.3 - https://www.nuget.org/packages/CompaniesHouse/3.1.3

Added another issue regarding updating readme on disposing objects - #52