BT

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

by Anand Narayanaswamy on Nov 01, 2013 |

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.

Hello stranger!

You need to Register an InfoQ account or to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2013 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT