Top "Dotnet-httpclient" questions

Refers to the System.

Web Api + HttpClient: An asynchronous module or handler completed while an asynchronous operation was still pending

I'm writing an application that proxies some HTTP requests using the ASP.NET Web API and I am struggling to …

c# asp.net asp.net-web-api dotnet-httpclient
Is async HttpClient from .Net 4.5 a bad choice for intensive load applications?

I recently created a simple application for testing the HTTP call throughput that can be generated in an asynchronous manner …

c# asynchronous .net-4.5 async-await dotnet-httpclient
Calling external HTTP service using HttpClient from a Web API Action

I am calling an external service using HttpClient from within an ASP.Net MVC 4 Web Api project running on .Net …

c# asp.net-web-api dotnet-httpclient
DelegatingHandler for response in WebApi

I am currently using several delegation handlers (classes derived from DelegatingHandler) to work on the request before it is sent, …

c# asp.net-mvc-4 asp.net-web-api .net-4.5 dotnet-httpclient
C# HttpClient An existing connection was forcibly closed by the remote host

I'm working on an integration with Alternative Payments using their hosted page integration. Their C# SDK does not have this …

c# asp.net json dotnet-httpclient
HttpClient retrieve all headers

Currently, I am working on API wrapper. If I send a bad Consumer Key, the server will return Status as 403 …

c# http http-headers windows-phone-8 dotnet-httpclient
Unit Testing / Integration Testing Web API with HttpClient in Visual Studio 2013

I am having a hard time trying to test my API controller with Visual Studio 2013. My one solution has a …

c# unit-testing visual-studio-2013 asp.net-web-api dotnet-httpclient
C# Add Accept header to HttpClient

What is the difference between these two calls? My end goal is to have Accept: application/json sent over the …

c# httpclient dotnet-httpclient .net-core-2.0 http-accept-header
HttpClientFactory.Create vs new HttpClient

I am curious what is the purpose of the HttpClientFactory class. There is no description of why it exists on …

.net dotnet-httpclient .net-4.6
How to use credentials in HttpClient in c#?

I am facing some problems when using the HttpClient class to access to a Delicious API. I have the following …

c# windows-phone-7 windows-phone-8 dotnet-httpclient asynchttpclient