Book Image

Team Foundation Server 2013 Customization

By : Gordon Beeming
Book Image

Team Foundation Server 2013 Customization

By: Gordon Beeming

Overview of this book

<p>Team Foundation Server offers you the benefit of having all your data in one system with all tools tightly integrated with each other, making it easier for teams to work together. Knowing how to customize the Team Foundation Server is very useful as well as powerful. Having the knowledge and applying it to TFS can save users many hours as well as make it easier to understand the data in TFS for reporting purposes.</p> <p>This book will show you how to customize various TFS features in order to create an enhanced experience for your users and improve their productivity. You will create custom controls that will be used in client applications and inside the web access. Next, you will learn how to embed a web page inside your work items to display rich information linked to the work items you are opening.</p> <p>This book will show you how to modify a team’s process template, and then slowly get to grips with some C# code and create a scheduled job.</p> <p>Using this book, you will create a JavaScript web access plugin that greatly increases productivity. You will start off by making various modifications to the process template to illustrate how we can cater to custom data requirements, and then we will move towards writing code to perform more complex customizations.</p> <p>Customizing Team Foundation Server 2013 is one of the best methods you can use to provide rich data for reporting in TFS.</p>
Table of Contents (13 chapters)
Team Foundation Server 2013 Customization
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Preface

Team Foundation Server is an Application Lifecycle Management (ALM) tool that helps you manage and plan all your work, including portfolio management, management of your test cases, and test execution. You are able to interact with TFS using various clients, such as Microsoft Visual Studio and Microsoft Test Manager (MTM), and a web portal. This book will show you how to customize TFS using lots of customization and extensibility points. After going through this book, you will have a good understanding of how to help your company by enhancing the user experience and productivity of users while using TFS.

What this book covers

Chapter 1, Customizing the TFS Process Templates for Your Business, covers customizing the TFS process template by adding new fields to an existing work item type using the TFS Power Tools and by editing raw XML files. We will also create a new work item portfolio.

Chapter 2, Increasing Web Access Usability, covers customizing the TFS Web Access by lighting up the dashboard with useful information, and we will also create a web extension using JavaScript to light up the task and portfolio boards.

Chapter 3, Enhancing Work Items with Custom Controls, covers creating custom controls that can be used on work items to extend the way in which we interact with the data in our work items.

Chapter 4, Creating Server Plugins, covers creating some server plugins to help add some business rule validations to TFS check-ins and work item data changes.

Chapter 5, Creating TFS Scheduled Jobs, covers TFS scheduled jobs, and we will learn how to create a new job, register it, deregister it, and check the history of running scheduled jobs.

Chapter 6, Customizing a TFS Build Process, covers customizing the TFS build process and then we set up a scenario for open source projects, where we set up a CI build that tweets new releases and locations to get the new bits.

What you need for this book

For this book, you will need the following software:

  • Team Foundation Server 2013 RTM

  • Visual Studio 2013 RTM

  • TFS Power Tools 2013

Who this book is for

This book is for all users who need or want to customize TFS to make their organization more productive while using TFS. Users will need an understanding of the terms used in TFS to easily navigate through the book.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "We will check all the submitted items to see if any of them are in the Framework folder."

A block of code is set as follows:

using System.Diagnostics;
using Microsoft.TeamFoundation.Framework.Server;
using Microsoft.TeamFoundation.VersionControl.Server;

Any command-line input or output is written as follows:

cd C:\ProcessTemplates\Microsoft Visual Studio Scrum 2013\WorkItem Tracking\TypeDefinitions

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "This will perform the deployment locally to your machine each time you build. To enable easy debugging, switch to the Debug tab, click on the Start external program radio button, and click on the browse button."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to , and mention the book title via the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.

Piracy

Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at if you are having a problem with any aspect of the book, and we will do our best to address it.