Why is HttpClient BaseAddress not working?

When using HttpClient it sometimes didn’t work when relative url is used using (HttpClient client = new HttpClient()) { try { // Works: // client.BaseAddress = new Uri(“http://example.com/develop/TB2/”) // trailing slash // client.GetAsync(“resource”); // no leading slash // // Doesn’t work: // – BaseAddress = new Uri(“http://example.com/Develop/TB2/”) + GetAsync(“/resource”); // – BaseAddress = new Uri(“http://example.com/Develop/TB2”) … Read moreWhy is HttpClient BaseAddress not working?