Passthrough (impersonation) authentication with ASP.NET and TFS api
问题 I'm trying to enable passthrough or impersonation authentication inside an ASP.NET website that uses the TFS2010 API. I've got this working correctly with Cassini, however with IIS 7.5 (Windows 7) something is going wrong. I found this blog post on the subject, and tried the following: private static void Test() { TfsTeamProjectCollection baseUserTpcConnection = new TfsTeamProjectCollection(new Uri(Settings.TfsServer)); // Fails as 'baseUserTpcConnection' isn't authenticated