get data from TFS in custom web application

佐手、 提交于 2019-12-11 17:28:43

问题


I need to extract some data from TFS (Team Foundation Server) and create some excel sheet with data. To automate it, I am writing an application .

But problem is:
How can I get data from TFS? Is there any webservice available for this or I need to parse HTML and then get the data.


回答1:


No. TFS has broad coverage APIs and came in two flavors: Object Model and REST.

The Object Model is automatically installed when you install Visual Studio / Team Explorer, otherwise you can use the stand-alone MSI. This is a .NET API, but you can also find the Java version in case you need it. The OM is simple to use for a .Net developer.

The REST API are kind of new and you should study if they satisfy your requirement. Some APIs are supported only on VSO and they miss from TFS on-premise and older versions.



来源:https://stackoverflow.com/questions/30184160/get-data-from-tfs-in-custom-web-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!