AzureDevOps.RestAPI.NetSDK.Helper 1.1.0-preview-9

This is a prerelease version of AzureDevOps.RestAPI.NetSDK.Helper.
dotnet add package AzureDevOps.RestAPI.NetSDK.Helper --version 1.1.0-preview-9
NuGet\Install-Package AzureDevOps.RestAPI.NetSDK.Helper -Version 1.1.0-preview-9
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AzureDevOps.RestAPI.NetSDK.Helper" Version="1.1.0-preview-9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AzureDevOps.RestAPI.NetSDK.Helper --version 1.1.0-preview-9
#r "nuget: AzureDevOps.RestAPI.NetSDK.Helper, 1.1.0-preview-9"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AzureDevOps.RestAPI.NetSDK.Helper as a Cake Addin
#addin nuget:?package=AzureDevOps.RestAPI.NetSDK.Helper&version=1.1.0-preview-9&prerelease

// Install AzureDevOps.RestAPI.NetSDK.Helper as a Cake Tool
#tool nuget:?package=AzureDevOps.RestAPI.NetSDK.Helper&version=1.1.0-preview-9&prerelease

AzureDevOps.RestAPI.NetSDK.Helper

Helper tools for the Azure DevOps rest api .net SDK

==========

Onboarding Instructions

Installation

  1. Add nuget package:

Install-Package AzureDevOps.RestAPI.NetSDK.Helper

  1. 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

Quality Gate Status .NET NuGet package

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 :

"Buy Me A Coffee"

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 75 1/22/2024
1.1.0-preview-8 169 12/4/2023
1.1.0-preview-7 87 11/29/2023
1.1.0-preview-5 129 10/6/2023
1.0.0 353 7/4/2023