Book Image

Microsoft Team Foundation Server 2015 Cookbook

By : Tarun Arora
Book Image

Microsoft Team Foundation Server 2015 Cookbook

By: Tarun Arora

Overview of this book

Team Foundation Server (TFS) allows you to manage code repositories, build processes, test infrastructure, and deploy labs. TFS supports your team, enabling you to connect, collaborate, and deliver on time. Microsoft's approach to Application Lifecycle Management (ALM) provides a flexible and agile environment that adapts to the needs of your team, removes barriers between roles, and streamlines processes. The book introduces you to creating and setting up team projects for scrum teams. You'll explore various source control repositories, branching, and merging activities, along with a demonstration of how to embed quality into every code check-in. Then, you'll discover agile project planning and management tools. Later, emphasis is given to the testing and release management features of TFS which facilitate the automation of the release pipeline in order to create potentially shippable increments. By the end of the book, you'll have learned to extend and customize TFS plugins to incorporate them into other platforms and enable teams to manage the software lifecycle effectively.
Table of Contents (16 chapters)
Microsoft Team Foundation Server 2015 Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 8. Extending and Customizing Team Foundation Server

 

"First, solve the problem. Then, write the code."

 
 --John Johnson

In this chapter, we will cover the following topics:

  • Acquiring the TFS object model from the NuGet Gallery

  • Using Team Project Picker to connect to TFS programmatically

  • Determining the version of TFS using the TFS object model

  • Retrieving TFS permissions programmatically using the TFS object model

  • Getting the Process Template name for a Team Project programmatically

  • Getting build details programmatically using the REST API

  • Getting a list of Git repositories programmatically using the REST API

  • Getting a Work Item by ID programmatically using the REST API

  • Adding a Team field to the Product Backlog Item to an existing Team Project

  • Adding multi-item select control in the Work Item form