I have a .NET application that is using the Microsoft.TeamFoundationServer.Client package to get data from TFS server.
When I run my app in Visual Studio 2017 I see the following information in the Output console:
Web method running: [http://mytfsserver/tfs/Site/_apis/git/repositories/<repoId>/items?scopePath=%2FMobile.AuthenticationService%2FMobile.AuthenticationService.Tests%2F&recursionLevel=Full&download=False&version=Release] (GET)items[git]
Web method response: [http://mytfsserver/tfs/Site/_apis/git/repositories/<repoid>/items?scopePath=%2FMobile.AuthenticationService%2FMobile.AuthenticationService.Tests%2F&recursionLevel=Full&download=False&version=Release] (GET)items[git] 206 ms
I'm trying to troubleshoot a performance issue where my same app in the server takes twice the time to execute a report than locally and would like to capture the request response times as shown at the end of the second response debug message.
Is there a way to capture those debug lines programmatically? I know I can use fiddler but I don't think i have permissions to install it in my web server.
Here is a link of existing VSTS REST API debug output behavior: https://developercommunity.visualstudio.com/content/problem/263288/please-optionally-remove-web-method-running-and-we.html
Here is a sample call that would result in such output:
var changeset = versionControlServer.ArtifactProvider.GetChangeset(new Uri(externalLink.LinkedArtifactUri));