BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News Octokit.NET Enables GitHub Integration Into .NET Framework 4.5 Applications

Octokit.NET Enables GitHub Integration Into .NET Framework 4.5 Applications

This item in japanese

GitHub has released Octokit.NET, which enables developers to build .NET applications that target GitHub API. It is a set of client libraries which target .NET 4.5 and provides an easy way to interact with the GitHub API. Moreover, Octokit also can be used along with Xamarin.iOS, Xamarin.Android, Xamarin.Mac, Mono 3.x, Windows Phone 8/8.1 apps.  It can be installed using the following command

Install-Package Octokit

While Octokit library is a single .NET assembly file, you can also compile the source using either Visual Studio 2012, 2013 or Xamarin Studio. You also require PowerShell 2.0 or higher along with Windows 8 to build and test WinRT projects.

In order to clone the library locally, you need to click the Clone in Windows button or run the following commands

git clone git@github.com:github/Octokit.net.git Octokit
cd Octokit
.\build.cmd

Octokit also includes integration tests that access the GitHub API but they must be configured by setting the username and password environmental variables. The tests will then be executed when running the FullBuild MSBuild target and when running the Octokit.Tests.Integration assembly through an xUnit.net-friendly test runner.

Rate this Article

Adoption
Style

BT