TFS 2010 API Resources
Does anyone have any good resources for working with the TFS 2010 API? I specifically looking at how to create, read, update and delete work items开发者_StackOverflow中文版.
Please see the Team Foundation Server 2010 SDK on MSDN Code Gallery. More content will be coming on-line for the RTM release, but you should find enough there to get you started. Contact me know if you have any questions.
- Shai Ratan's blog has a huge wealth of examples. They're 2008 but 99% still relevant.
- www.tfsexamples.com has 2008 examples, but still relevant
- WorkItemManager class from a TFS OS project I'm currently working on called Spruce, which is ASP.NET MVC 3 front end for TFS workitems. The class illustrates a large portion of what you need, although no deleting examples.
WorkItemSummary
in that class is simply a scaled downWorkItem
object. - BacklogItemHandler from the Scrum Dashboard project on codeplex also has a lot of good examples of how to use the API.
精彩评论