+ All Categories
Home > Technology > Getting Started With the TFS Object Model

Getting Started With the TFS Object Model

Date post: 22-Nov-2014
Category:
Upload: jeff-bramwell
View: 3,563 times
Download: 4 times
Share this document with a friend
Description:
Microsoft's Team Foundation Server (TFS) is a very capable platform for integrating all aspects of the software development lifecycle (SDLC). There is a great deal of functionality provided out of the box that will handle the majority of a development team's needs. However, there are times when you need to extend the functionality of TFS to handle scenarios not anticipated by Microsoft (or they just didn't have the time to get them built into the product). This session will cover the common APIs provided by the TFS Object Model and provide the knowledge needed to get started developing with TFS right away.
Popular Tags:
16
GETTING STARTED WITH THE TFS OBJECT MODEL 7 October 2011 Jeff Bramwell Enterprise Applications Architect [email protected] twitter.com/jbramwell devmatter.blogspot.com
Transcript
Page 1: Getting Started With the TFS Object Model

GETTING STARTED WITH THE TFS OBJECT MODEL

7 October 2011

Jeff BramwellEnterprise Applications [email protected]/jbramwell devmatter.blogspot.com

Page 2: Getting Started With the TFS Object Model

Please be courteous to your fellow attendees

and

set your phones to vibrate or silent mode!

PLEASE BE COURTEOUS!

Page 3: Getting Started With the TFS Object Model

WHO AM I?

Jeff Bramwell Enterprise Applications Architect

Farm Credit Services of America Leader, Omaha Team System User

Group Microsoft MVP – Visual Studio ALM MCSD.NET, MCTS: TFS

Page 4: Getting Started With the TFS Object Model

WHAT ARE WE COVERING?

TFS Architecture General Process (for using the APIs) Demos

Page 5: Getting Started With the TFS Object Model

TFS ARCHITECTUREClient Tier

Visual Studio

Office(Plug-ins)

Command Line

Other/Custom

Tools

Application Tier

Data Tier

Work Items

Build Data

Data Warehous

e

SourceRepositor

y

Internet Explorer

Team Foundation Server Web Services APITeam Foundation Integration

ServicesTeam Foundation Data Services

Event Notification Services

Linking Service

Registration Service

Work Item

Service

Source Code

Control Service

Build Data

Services

Team Project Portal

Web Parts

Reports

WSS

SSRS

ASP.NET

SQL Server

Team Foundation Client API (Object Model)

Page 6: Getting Started With the TFS Object Model

WHERE TO EXTEND

Web services – Not Supported Database – Not Supported Reports (via Warehouse) Custom Check-in Policies SharePoint web parts Work item types Process templates Custom work item form controls TFS Object Model

Page 7: Getting Started With the TFS Object Model

GENERAL PROCESS

1. Connect to TFS Configuration Server/TPC

2. Identify desired services3. Instantiate and interact with services

Page 8: Getting Started With the TFS Object Model

TFS CONFIGURATION SERVER VS. TPC

TFS Application Instance

Default Collection•Team Project 1•Team Project 2Playground Collection•Team Project A•Team Project B

Page 9: Getting Started With the TFS Object Model

CONNECTION CLASSES

Both classes offer similar methods Choose class based on scope of

data/servicesAbstract Class

Page 10: Getting Started With the TFS Object Model

CONNECTION OPTIONS

Several options: Connect via URI Connect via RegisteredConfigurationServer

Connect with custom credentials Connect on behalf of another user Connect using TfsConfigurationFactory Provide a connection dialog via TeamProjectPicker

Page 11: Getting Started With the TFS Object Model

DEMO

Page 12: Getting Started With the TFS Object Model

IDENTIFY TFS SERVICES

Page 13: Getting Started With the TFS Object Model

LIST TEAM PROJECTS

Multiple approaches VersionControlServer CommonStructureService ICatalogService

Page 14: Getting Started With the TFS Object Model

DEMO

Page 15: Getting Started With the TFS Object Model

MORE INFORMATION

My Blog http://devmatter.blogspot.com

Visual Studio Blog http://blogs.msdn.com/b/visualstudio/

Visual Studio vNext Forums http://social.msdn.microsoft.com/Forums/en-US/category/vs

vnext

Extending Team Foundation http://msdn.microsoft.com/en-us/library/bb130146.aspx

Page 16: Getting Started With the TFS Object Model

Recommended