on-internet
← Community

Connect to Visual Studio Team Services from WebService

Stack Overflow ·

How can I provide credentials to TfsTeamProjectCollectionFactory.GetTeamProjectCollection? I am trying to develop my own WCF Service from which I will make the request to TFS. I need this WCF service because I would like to manage my TFS files from mobile in which I cannot use Microsoft.TeamFoundation.* dll I have been trying this way: Uri tpcAddress= new Uri("https://myserver.visualstudio.com/DefaultCollection"); TfsConnection tfsc = new TfsConfigurationServer(tpcAddress, new NetworkCredential("[email protected]", "password")); TfsWebClient wc = new TfsWebClient(tfsc); tfsc.Connect(ConnectOpti

Comments

Sign in or sign up to comment and upvote.

No comments yet.