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: docs/integrate/concepts/dotnet-client-libraries.md
+20-16Lines changed: 20 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,16 @@
1
1
---
2
2
title: .NET client libraries
3
-
description: Easily integrate with Azure DevOps from apps and services on Windows.
3
+
description: Learn how to use Azure DevOps .NET client libraries to integrate work items, Git repositories, builds, and pipelines into your C# applications and Windows services.
4
4
ms.assetid: 474cdb4f-9a5e-49fb-84b2-9c540ebcf98b
5
+
ai-usage: ai-assisted
5
6
ms.subservice: azure-devops-ecosystem
6
7
ms.custom: devx-track-dotnet
7
8
ms.topic: conceptual
8
9
monikerRange: '<= azure-devops'
9
10
ms.author: chcomley
10
11
author: chcomley
11
-
ms.date: 03/20/2025
12
+
ms.date: 07/02/2025
13
+
#customer intent: As a .NET developer, I want to integrate my C# applications with Azure DevOps services like work items, Git repositories, builds, and pipelines using official client libraries and REST APIs.
12
14
---
13
15
14
16
# .NET client libraries
@@ -40,8 +42,6 @@ The following table maps the package versions of the .NET client libraries to th
40
42
|---------------|---------------------|
41
43
|16.205.x|`versions >= Azure DevOps Server 2022`|
42
44
|16.170.x|`versions >= Azure DevOps Server 2020`|
43
-
|16.153.x|`versions >= Azure DevOps Server 2019 Update 1`|
44
-
|16.143.x|`versions >= Azure DevOps Server 2019`|
45
45
46
46
For the latest preview versions, see the [NuGet packages gallery](https://www.nuget.org/packages?q=azure+devops+.net).
47
47
@@ -69,7 +69,7 @@ The following table lists the .NET client libraries available for accessing vari
69
69
|[Microsoft.Azure.Pipelines.Policy.Client](https://www.nuget.org/packages/Microsoft.Azure.Pipelines.Policy.Client/)<br/>Provides access to the pipeline approvals, checks, and authorization via public REST APIs. |`Microsoft.Azure.Pipelines.Policy.Client.dll`|
70
70
71
71
> [!TIP]
72
-
> If you have an existing Windows application or service that uses the TFS Client Object Model, use `Microsoft.TeamFoundationServer.ExtendedClient`. This package provides access to the older SOAP-based APIs, which are necessary for certain functionalities not available in the newer REST APIs. However, this package doesn't support .NET Standard and is intended for use only when the REST APIs don't offer the required functionality.
72
+
> **Legacy SOAP APIs**: If you have an existing Windows application that uses the TFS Client Object Model, use `Microsoft.TeamFoundationServer.ExtendedClient` for SOAP-based APIs. This package is only recommended when REST APIs don't provide the specific functionality you need (such as TFVC workspace creation). This package doesn't support .NET Standard and Microsoft is no longer investing in SOAP-based APIs.
73
73
74
74
## Soap package
75
75
@@ -99,20 +99,21 @@ using Microsoft.VisualStudio.Services.Client;
// Get a GitHttpClient to talk to the Git endpoints
@@ -151,6 +152,9 @@ namespace ConsoleApp1
151
152
152
153
```
153
154
155
+
> [!TIP]
156
+
> **Microsoft Entra ID authentication**: The previous examples use Microsoft Entra ID tokens for authentication. For more information, see [Authenticate to Azure DevOps using Microsoft Entra](../get-started/authentication/entra.md).
157
+
154
158
For more authentication samples, see [.NET Samples](../get-started/client-libraries/samples.md).
155
159
156
160
## Reference
@@ -190,7 +194,7 @@ async void InitAzureDevOps()
190
194
191
195
### Using NetStandard 2.0 versions of the Azure DevOps OM
192
196
193
-
For version 16.143.1 of our NuGet packages, we support NetStandard 2.0. These packages correlate with Azure DevOps Server 2019 RTW and are fully compatible with Azure DevOps.
197
+
For version 16.143.1 of our NuGet packages, we support NetStandard 2.0. These packages correlate with Azure DevOps Server and are fully compatible with Azure DevOps.
194
198
195
199
### Microsoft.TeamFoundationServer.ExtendedClient package doesn't have NetStandard support
0 commit comments