You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DualSupportClientSample/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
-
# Dual Support (VSTS/TFS) Client Sample
1
+
# Dual Support (Azure DevOps/TFS) Client Sample
2
2
3
-
For windows native applications which want to target both VSTS and TFS we recommend using the [Client Libraries for VSTS and TFS](https://www.visualstudio.com/en-us/docs/integrate/get-started/client-libraries/dotnet) to generate interactive sign in prompts for VSTS users and leverage seemless Windows credential authentication for TFS users.
3
+
For windows native applications which want to target both Azure DevOps and TFS we recommend using the [Client Libraries for Azure DevOps and TFS](https://docs.microsoft.com/en-us/azure/devops/integrate/concepts/dotnet-client-libraries?view=vsts) to generate interactive sign in prompts for Azure DevOps users and leverage seemless Windows credential authentication for TFS users.
4
4
5
5
## Sample Application
6
6
7
-
This buildable sample will walk you through the steps to create a client-side console application which uses Client Libraries - Interactive and Windows Auth to authenticate a VSTS or TFS user and return a list of all projects inside a selected VSTS account or TFS collection.
7
+
This buildable sample will walk you through the steps to create a client-side console application which uses Client Libraries - Interactive and Windows Auth to authenticate a Azure DevOps or TFS user and return a list of all projects inside a selected Azure DevOps account or TFS collection.
8
8
9
9
To run this sample you will need:
10
10
*[Visual Studio IDE](https://www.visualstudio.com/vs/)
11
-
* A [VSTS account](https://www.visualstudio.com/team-services/)
11
+
* A [Azure DevOps account](https://www.visualstudio.com/team-services/)
12
12
13
13
## Step 1: Clone or download vsts-auth-samples repository
2. Open the solution file `VstsTfsSample.sln` in [Visual Studio 2017](https://www.visualstudio.com/downloads/).
28
28
3. Use [Nuget package restore](https://docs.microsoft.com/en-us/nuget/consume-packages/package-restore) to ensure you have all dependencies installed.
29
29
4. Open CS file `Program.cs` and there is a section with input values to change at the top of the class:
30
-
*`vstsOrTfsCollectionUrl` - update this with the url to your VSTS/TFS collection, e.g. http://myaccount.visualstudio.com for VSTS or http://myserver:8080/tfs/DefaultCollection for TFS.
31
-
5. Build and run the solution. After running you should see an interactive login prompt if you are a VSTS user. If you are a TFS user authentication should happen in the background. After authentication and authorization, a list of all projects inside of your account will be displayed in the console.
30
+
*`vstsOrTfsCollectionUrl` - update this with the url to your Azure DevOps/TFS collection, e.g. http://dev.azure.com/myaccount for Azure DevOps or http://myserver:8080/tfs/DefaultCollection for TFS.
31
+
5. Build and run the solution. After running you should see an interactive login prompt if you are a Azure DevOps user. If you are a TFS user authentication should happen in the background. After authentication and authorization, a list of all projects inside of your account will be displayed in the console.
0 commit comments