.N .NET Landscape

NGitLab

SaaS & API Client SDKs
github.com/ubisoft/NGitLab

.NET client for the GitLab REST API

ci-cdclient-librarydotnetgitlabgitlab-apigitlab-cigitlab-clientrest-api
GitHub stars
173
Forks
85
Open issues
26
NuGet downloads
9,922,359
latest 12.5.0
License
MIT
Language
C#
Last push
2 days ago
22 Oct 2026
Created
17 May 2021

NuGet

What is NGitLab?

NGitLab is a .NET client implementation for the GitLab REST API.

Usage

Start by creating a GitLabClient instance:

var client = new GitLabClient("https://mygitlab.example.com", "your_private_token");

Then use its properties. You can obtain the private token in your account page. You may want to create a custom user for the API usage.

For further info about the GitLab API, refer to the official documentation

Where can I get it?

Get it from nuget.org. You can simply install it using the dotnet CLI:

dotnet add package NGitLab

Running Unit Tests locally

  • Install Docker on your machine
  • It's recommended to use WSL version 2 (see here)
  • Executing tests under Linux requires PowerShell to be installed (see here)

Thanks

Thanks to Scooletz for creating the original project.