Getting Started With the TFS Object Model

  • 2,729 views
Uploaded on

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 …

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.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
2,729
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
21
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Getting Started with the TFS Object Model
    7 October 2011
    Jeff Bramwell
    Enterprise Applications Architect
    jbramwell@gmail.com
    twitter.com/jbramwell devmatter.blogspot.com
  • 2. Please Be Courteous!
  • 3. 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
  • 4. What are we covering?
    TFS Architecture
    General Process (for using the APIs)
    Demos
  • 5. TFS Architecture
    Client Tier
    Visual Studio
    Office
    (Plug-ins)
    Command Line
    Other/
    Custom Tools
    Internet Explorer
    Team Foundation Client API (Object Model)
    Application Tier
    WSS
    ASP.NET
    Team Foundation Server Web Services API
    Team Project Portal
    Web Parts
    Team Foundation Integration Services
    Team Foundation Data Services
    Event Notification Services
    Linking Service
    Work Item Service
    Registration Service
    Source Code Control Service
    Build Data Services
    SSRS
    Reports
    SQL Server
    Data Tier
    Work Items
    Build Data
    Data Warehouse
    Source
    Repository
  • 6. 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
  • 7. General Process
    Connect to TFS Configuration Server/TPC
    Identify desired services
    Instantiate and interact with services
  • 8. TFS Configuration Server vs. TPC
    TFS Application Instance
    Default Collection
    • Team Project 1
    • 9. Team Project 2
    Playground Collection
    • Team Project A
    • 10. Team Project B
  • Connection Classes
    Both classes offer similar methods
    Choose class based on scope of data/services
    Abstract Class
  • 11. 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
  • 12. DEMO
  • 13. Identify TFS Services
  • 14. List Team Projects
    Multiple approaches
    VersionControlServer
    CommonStructureService
    ICatalogService
  • 15. DEMO
  • 16. 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/vsvnext
    Extending Team Foundation
    http://msdn.microsoft.com/en-us/library/bb130146.aspx