What are breaking changes for HttpClient in preview 5?
Earlier, HttpClient used to take URI as a parameter in it's constructor.
var client = new HttpClient(new Uri(uri));
But now, I am getting error "The best overloaded method match for 'System.Net.Http.HttpClient.HttpClient(System.Net.Http.HttpMessageHandler)' has some invalid arguments".
It seems now HttpClient accepts only HttpMessageHandler in it's constructor.
Similarly, it's "Channel" property seems to have disappeared.
client.Channel = new TracingResponseChannel(this.TraceResponse);
I am getting error "'System.Net.Http.HttpClient' does not contain a definition for 'Channel' and no extension method 'Channel' accepting a first argument of type 'System.Net.Http.HttpClient' could be found (are you missing a using directive or an assembly
This used to work in the past!