简体   繁体   English

Team Foundation Server(TFS)Excel外接程序的体系结构

[英]Architecture of team foundation server (tfs) excel add-in

We can use Excel to connect to a TFS server and then select a work item query. 我们可以使用Excel连接到TFS服务器,然后选择一个工作项查询。 Based on the query a list of work Items shows up in excel. 根据查询,Excel中会显示一个工作项列表。 The data can be edited and published (saved) back to server. 可以编辑数据并将其发布(保存)回服务器。

I would like to know the architecture / technology that TFS excel add-in uses to save the data back to TFS. 我想知道TFS excel加载项用于将数据保存回TFS的体系结构/技术。

Main question is does excel access data using which one of the following: 主要问题是excel是否使用以下哪一项访问数据:

  1. a web service that TFS exposes TFS公开的Web服务

  2. the code in add-in using some TFS client side object model or 使用某些TFS客户端对象模型的加载项中的代码或

  3. is it using some SQL server or SharePoint out of the box functionality to do it. 它是否使用某些SQL Server或SharePoint的即用型功能来做到这一点。

I'm pretty sure Excel is using TFS SDK libraries that are using TFS Web service in the background to achieve this. 我很确定Excel正在使用TFS SDK库,这些库在后台使用TFS Web服务来实现此目的。

I can tell you for sure that it's not directly connecting to TFS database – that simply wouldn't work every time remote connections on TFS database server are disabled. 我可以肯定地说,它不是直接连接到TFS数据库–每次禁用TFS数据库服务器上的远程连接时,它根本就无法工作。 It would also require you to enter user/password for SQL Server instance it needs to connect to. 它还需要您输入需要连接的SQL Server实例的用户/密码。

Here are couple links to get you started in the right direction. 以下是几个链接,可帮助您正确地开始工作。

Extending Team Foundation 扩大团队基础

Connect to Team Foundation Server from a Console Application – I'm not 100% sure but I guess excel is using something similar to this… 从控制台应用程序连接到Team Foundation Server –我不确定100%,但我想excel使用的与此类似...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM