Skip to content

mikedouglasdev/vsxtend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vsxtend

Lightweight Client Library for Visual Studio Online and Team Foundation Server REST APIs

This is the source code companion to the book, Extending Team Foundation Server and Visual Studio Online

Features include

  • Full support for basic and OAuth authentication
  • Implemented as a Portable Class Library to utilize across platforms
  • Sample ASP.NET MVC usage
  • Sample Webhook integration

Usage is very simple. Utilize built in classes authentication, resource client, request and response objects.

// Arrange
        
BasicAuthentication authentication = new BasicAuthentication 
{ 
    Username = Helper.GetUsername(), 
    Password = Helper.GetPassword(), 
    Account = Helper.GetAccount() + ".visualstudio.com/DefaultCollection" 
};
TeamRoomClient teamroomClient = new TeamRoomClient(authentication);

// Act
CollectionResult<TeamRoom> response = await teamroomClient.GetRoomsAsync();

// Assert
Assert.IsNotNull(response);
Assert.IsNotNull(response.value);

About

Lightweight Client Library for Visual Studio Online and Team Foundation Server REST APIs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages