Mark Broadhurst (2) [Avatar] Offline
#1
Hi,
I notice that you use
using(HttpClient http = new HttpClient()){
//stuff
}

in alot of examples in this book, I was wondering if you hit issues with .NET using lots of ports and slow down because of this?

More info:
https://aspnetmonsters.com/2016/08/2016-08-27-httpclientwrong/
c.horsdal (64) [Avatar] Offline
#2
I have and if I was to do it again, I would re-use the HttpClients, like I figure you sugggest
Mark Broadhurst (2) [Avatar] Offline
#3
Ok thanks
If you do a second edition I'll be all over it.