json = await response.Content.ReadAsStringAsync();
I get this exeptions:
inner exeption : Unable to read data from the transport connection An existing connection was forcibly closed by the remote host.
msg : Error while copying content to a stream.
if put a Task.Delay(2000) and reapet the operation it gets succeeded....but if i make too many requests at some point it gives me the exception....some help ?
Use the using statement for the httpClient, i mean: using (var httpResponseMessage = await httpClient.SendAsync(httpRequestMessage))
Обсуждают сегодня