This is the second part of a series on how to implement a validation plugin using ITeamFoundationRequestFilter.
You can go to the first part by clicking the link below:
https://conradoclarkdeveloper.com/2015/03/02/iteamfoundationrequestfilter-part1-tfs
In this post I’ll explain how to intercept a work item creation request and prevent the operation from executing.
What’s in the request ?
After creating a simple plugin using an ITeamFoundationRequestFilter implementation, you are now able to intercept requests to TFS.
I recommend using a software such as Fiddler to capture requests and observe what they’re like. In our case, we’re going to investigate what goes on when we create a WorkItem on Visual Studio and on Web Access. I’ll also be using Fiddler since it’s well known and easy to use. Click here to read more.