|
using (var client = new HttpClient()) |
Shouldn't this should be using something like...
var vssConnection = new VssConnection(,,,,); // any overload that does not assume the user has a PAT already
var projectClient = _vssConnection.CurrentConnection.GetClient<ProjectHttpClient>();
var projects = await projectClient.GetProjects();
?