Nov 17, 2011 at 3:26 PM
Edited Nov 17, 2011 at 4:46 PM
Can anyone explain to me why I am getting an exception with the message, "The HttpClient instance already started one or more requests" when I try to call a second API?
The steps to reproduce are:
1. Start the service (hosted in IIS so all APIs are created using MapServiceRoute in the Global.asax)
2. Make a request to any service method. (This works fine.)
3. Make a request to a service method on another API. I get the exception.
Any ideas why?
BTW, I am calling the services using the TestClient and/or Fiddler. Not sure why HttpClient is even part of the equation when I'm not working with client-side code, but...