TFS 网络服务文档 [英] TFS Webservice Documentation

查看:21
本文介绍了TFS 网络服务文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用大量 python 来完成我们的大部分部署,并且可以方便地连接到我们的 TFS 服务器以获取有关迭代路径、票证等的信息.我可以看到网络服务,但找不到任何文档.只是想知道有没有人知道什么?

We use a lot of of python to do much of our deployment and would be handy to connect to our TFS server to get information on iteration paths, tickets etc. I can see the webservice but unable to find any documentation. Just wondering if anyone knew of anything?

推荐答案

Microsoft 未记录 Web 服务,因为它不是官方支持的与 TFS 对话的途径.官方支持的路由是使用他们的 .NET API.

The web services are not documented by Microsoft as it is not an officially supported route to talk to TFS. The officially supported route is to use their .NET API.

就您的应用程序类型而言,我通常建议的操作过程是创建您自己的 Web 服务 shim,它位于 TFS 服务器(或其他服务器)上,并使用它们的 API 与服务器通信,但允许您以一种很好的方式将数据呈现给您的应用程序.

In the case of your sort of application, the course of action I usually recommend is to create your own web service shim that lives on the TFS server (or another server) and uses their API to talk to the server but allows you to present the data in a nice way to your application.

他们的对象模型极大地简化了交互(取决于您想要做什么),因此它实际上意味着总体上更少的代码 - 但经过更好的测试和可测试的代码,您还可以解决诸如 NTLM 身份验证之类的问题由 TFS 网络服务使用.

Their object model simplifies the interactions a great deal (depending on what you want to do) and so it actually means less code over-all - but better tested and testable code and also you can work around things such as the NTLM auth used by the TFS web services.

希望有所帮助,

马丁.

这篇关于TFS 网络服务文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆