AzureDevOps.RestAPI.NetSDK.Helper
1.1.0-preview-8
See the version list below for details.
dotnet add package AzureDevOps.RestAPI.NetSDK.Helper --version 1.1.0-preview-8
NuGet\Install-Package AzureDevOps.RestAPI.NetSDK.Helper -Version 1.1.0-preview-8
<PackageReference Include="AzureDevOps.RestAPI.NetSDK.Helper" Version="1.1.0-preview-8" />
paket add AzureDevOps.RestAPI.NetSDK.Helper --version 1.1.0-preview-8
#r "nuget: AzureDevOps.RestAPI.NetSDK.Helper, 1.1.0-preview-8"
// Install AzureDevOps.RestAPI.NetSDK.Helper as a Cake Addin #addin nuget:?package=AzureDevOps.RestAPI.NetSDK.Helper&version=1.1.0-preview-8&prerelease // Install AzureDevOps.RestAPI.NetSDK.Helper as a Cake Tool #tool nuget:?package=AzureDevOps.RestAPI.NetSDK.Helper&version=1.1.0-preview-8&prerelease
AzureDevOps.RestAPI.NetSDK.Helper
Helper tools for the Azure DevOps rest api .net SDK
==========
Onboarding Instructions
Installation
- Add nuget package:
Install-Package AzureDevOps.RestAPI.NetSDK.Helper
- In your application, you must initialize the helper with your Azure DevOps credentials. Open your program.cs or Startup.cs and add the following code:
builder.Services.RegisterVssConnection("https://dev.azure.com/{organization}", "{PAT}");
A VssConnection object is now registered in the dependency injection container. You can now inject it in your services or controllers.
public class MyService
{
private readonly VssConnection _vssConnection;
public MyService(VssConnection vssConnection)
{
_vssConnection = vssConnection;
}
}
Azure DevOps helpers
Here is the list of helpers available in the package:
Domain | Function | Description | Status |
---|---|---|---|
Projects | GetProjectList(...) | Get all projects | ✅ |
Backlog | GetQueries(...) | Returns all queries available in a project | ✅ |
Backlog | GetQueryResults(...) | Execute a query and retrive results | ✅ |
Backlog | DownloadAttachment(...) | Download an attachment for a specific work item | 📆 |
Wiki | GetWikis() | Retreive all available wikis | ✅ |
Wiki | GetWiki(...) | Get a Wiki description by identifier | ✅ |
Wiki | GetWikiPages(...) | Retreive all pages for a dedicated Wiki | ✅ |
Wiki | GetWikiPageText(...) | Retreive string content for a wiki page | ✅ |
✅ : Available
📆 : Planned in the roadmap
You can find more details and samples in the Wiki.
IC
Documentation : I want more
Do not hesitate to check unit tests on the solution. It's a good way to check how transformations are tested.
Also, to get more samples, go to the Wiki.
Do not hesitate to contribute.
Support / Contribute
If you have any questions, problems or suggestions, create an issue or fork the project and create a Pull Request.
You want more ? Feel free to create an issue or contribute by adding new functionnalities by forking the project and create a pull request.
And if you like this project, don't forget to star it !
You can also support me with a coffee :
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Microsoft.TeamFoundationServer.Client (>= 16.205.1)
- Microsoft.VisualStudio.Services.Client (>= 16.205.1)
- Microsoft.VisualStudio.Services.Release.Client (>= 16.205.1)
- Microsoft.VisualStudio.Services.Search.Client (>= 16.205.1)
- Microsoft.VisualStudio.Services.ServiceHooks.WebApi (>= 16.205.1)
-
net7.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Microsoft.TeamFoundationServer.Client (>= 16.205.1)
- Microsoft.VisualStudio.Services.Client (>= 16.205.1)
- Microsoft.VisualStudio.Services.Release.Client (>= 16.205.1)
- Microsoft.VisualStudio.Services.Search.Client (>= 16.205.1)
- Microsoft.VisualStudio.Services.ServiceHooks.WebApi (>= 16.205.1)
-
net8.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Microsoft.TeamFoundationServer.Client (>= 16.205.1)
- Microsoft.VisualStudio.Services.Client (>= 16.205.1)
- Microsoft.VisualStudio.Services.Release.Client (>= 16.205.1)
- Microsoft.VisualStudio.Services.Search.Client (>= 16.205.1)
- Microsoft.VisualStudio.Services.ServiceHooks.WebApi (>= 16.205.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.1.0-preview-9 | 680 | 1/22/2024 |
1.1.0-preview-8 | 197 | 12/4/2023 |
1.1.0-preview-7 | 113 | 11/29/2023 |
1.1.0-preview-5 | 156 | 10/6/2023 |
1.0.0 | 974 | 7/4/2023 |