Docstoc

Team Foundation Server 101

Document Sample
Team Foundation Server 101 Powered By Docstoc
					TEAM FOUNDATION SERVER
THE ANSWER TO ALL PROJECT MANAGEMENT PROBLEMS?

Richard Fennell
Black Marble Engineer Director
MVP (Team System)

VBug Conference 2008



             black               the strategic IT asset for your organisation
             marble
                  Agenda

•   The Need for Team Foundation Server
•   Components of Team Foundation Server
•   Customisation using Add-ins and the API
•   The future.......




    black
    marble
       Software Projects Need...

•   Source Code Control
•   Work Item tracking
•   Project Management
•   Document Repositories
•   Communications
•   Remote Access


    black
    marble
                 Visual Studio Team System
           Application Life Cycle Management (ALM) Solution



 Excel
 Project                                           Team System
                                                   Web Access




Operations, QA
and Help Desk                                      Non-Microsoft
                                                   Developer
       Team System Architecture
                   Business User            Dev Team (Local)
                                                               Dev Team (Remote)




   Build Server

                          Win 2003 Server
                          SQL Server 2005
                          IIS 6.0




                                                                    Version
Active Directory                                                 Control Proxy
                                                                   (Remote)
                                                                     HTTP / S
                                                                     TCP/IP

                                Team Foundation Server



   black
   marble
                Versions

• Team Foundation Server 1.0 (early 2006)
• Team Foundation Server 1.0 SP1 (late 2006)
• Team Foundation Server „Orcas‟ Beta (Q2 2007)
• Team Foundation Server 2008 (Q4 2007)
• Team Foundation Server 2008 SP1 (Q3 2008)

• Team Foundation Server 2010 „Rosario‟ in CTP


 black
 marble
                       Versions

• Workgroup Edition (5 named users)
  – Free to licensed users of Team Suite (or one of the role-based
    Team Editions) with MSDN Premium subscription.

• Standard Edition
  – Server License plus either:
     o a licensed copy of Team Suite (or one of the role-based
       Team Editions) per user
     o or a Team Explorer CAL per user




 black
 marble
       TFS 2008 Enhancements
• SharePoint 2007 support
• Enable use of a separate SharePoint farm.
• Support for SQL Named Instances
• Windows & SQL Server 2008 (Beta)
  support
• Installation on a domain controller
• Non-default ports & web sites

    black
    marble
     TFS 2008 Enhancements

• Add support for checkin policy overrides to
  the warehouse (an oversight from V1).
• Destroy
• Get Latest On Checkout
• Performance & Scale improvements
• Simplify installation
• In-place upgrade from TFS 2005

  black
  marble
    TFS 2008 SP1 Enhancements

•   SQL 2008 RTM Support
•   Improved Source Control dialogs
•   Drag files/folders from Windows Explorer
•   Check date/time columns in Source Control
•   Ribbon support for Office 2007
•   Visual SourceSafe migration tool improvements
•   Create Team Projects with a script

    black
    marble
       TFS 2008 System Requirements
Team Size   TFS Config      Model                            CPU             Memory       Disk
(up to)

250         Single Server   Optiplex GX280                   1P 3.6Ghz       2Gb          1 x 7.2K ATA (230Gb)


450         Single Server   PowerEdge 1850                   2P 2.8Ghz       4Gb          1 x 10K SCSI (500Gb)


2200        Dual Server     AT: PowerEdge 6650               2P 2.8Ghz       3.5Gb        2 x 15K SCSI (31Gb, 136 Gb)


                            DT: PowerEdge 2950               4P 2.6Ghz       8Gb          3 x 7.2K SATA (480Gb),
                                                                                          15 x 7.2K SATA2 (3.75TB)
                            Proxy: PowerEdge 6650            2P 2.0Ghz       2Gb          2 x 15K SCSI (73 GB)


3600        Dual Server     AT: PowerEdge 6650               4P 2.2Ghz       3.5Gb        2 x 15K SCSI (31Gb, 136 Gb)


                            DT: PowerEdge 2950               8P 2.6Ghz       16Gb         3 x 7.2K SATA (480Gb),
                                                                                          15 x 7.2K SATA2 (3.75TB)
                            Proxy: PowerEdge 6650            4P 2.0Ghz       2Gb          2 x 15K SCSI (73 GB)



                                                               NB: Application Tier (AT) must be on 32bit Operating System


       black
       marble
                                    Source - http://blogs.msdn.com/bharry/archive/2007/10/18/tfs-2008-system-recommendations.aspx
             Installation Tips

•   Read and follow the MSDN walk-thru
•   Do not deviate from the walk-thru
•   Not even for a moment
•   And keep trying over and over......

• Using a VPC for the front end server can
  help as you can commit/roll back as you go.

    black
    marble
            Installation Tips

• Make sure there are no domain/group
  policies you have forgotten
• If the reporting service configuration stage
  fails make sure you drop (and delete) the
  DB files
• Use the log files if you have problems
• Use AD groups for security

  black
  marble
           Tips for VSS Users
• TFS does NOT perform a “get latest” on
  checkout
  – “get latest” and “check out” are 2 separate ops
  – “get latest” is explicit in TFS, controlled by the
    user
  – Provides a consistent snapshot of code
• TFS does NOT add a file until checked in
• There are migration tools but do you need
  them?
  black
  marble
            Workspaces

• Workspaces provide Isolated areas
• Unlike VSS a single PC can have many
  workspaces
• Workspaces are a powerful tool with
  branching




 black
 marble
         Branching




black
marble      Image source: Patterns & Practices Team Development with TFS Guide
demo

 Visual Studio & TFS



   black    the strategic IT asset for your organisation
   marble
TFS Tools & Add-ins



  black    the strategic IT asset for your organisation
  marble
    Visual Studio Power Tools

• MSSCCI provider for other IDEs
• Team Foundation Power Toys
  – Tfpt.exe command line tools
  – Process Template Editor
  – Check In Policy Pack
  – Test Tools Build Task
  – Best Practice Analyzer


 black
 marble
Power Tool Build Notification
           Tray




black
marble
  Team System Web Access




black
marble
  Microsoft Office as a Client




black
marble
 Integration with Project Server

• Project Server 2007 VSTS Connector
  available on CodePlex
            Team                                                      Project
          Foundation                    Connector                     Server
            Server




                                                    Event Handlers
                       Event Handlers



                                        Biztalk
           Config                                                    Mapping
            DB                                                         DB


 black
 marble
Attrice Team Foundation Sidekicks




 black
 marble
           Other Cool Tools

• SVNBridge – Allows SubVersion client to
  access TFS
• Personify Design‟s TeamLook Outlook Add-in
• Microsoft Israel‟s Team System Outlook Add-in
• TeamPrise Client Suite – TFS access from
  Macs, Linux and Eclipse IDE

• NB all clients still need a Team Explorer CAL
  (maybe!)
  black
  marble
demo

 Add-ins & Tools



   black    the strategic IT asset for your organisation
   marble
TFS API & Customisation



  black    the strategic IT asset for your organisation
  marble
      Process Template Editor

• You can write your own process template
• Or make edits to existing ones
 Cognizant FDD Process     Personal Workspace v1.0
                           Process
 Content Bridge for VSTS
                           Process MeNtOR TeamGuide
 IRIS Process Author
                           Scrum Template (CodePlex)
 IRIS Process Live
                           Scrum Template (Conchango)
 MSF for Agile Software
 Development               Scrum Template (Microsoft
                           eScrum)
 MSF for CMMI® Process
 Improvement               Scrum Template (Scrumptious)
                           XP for Team System (Extreme
  black
                           Programming)
  marble
           Using the TFS API

• Team Explorer installs all the DLLs are in
  the GAC, but doesn‟t registered them for
  Visual Studio
• Can write own desktop clients to do
  anything you can in Team Explorer or the
  command line



  black
  marble
         Visual Studio Team Build
             Team Foundation Client                          Drop
                                                            Location
                           Create build type
                           Start build
                           View Reports




                       Application Tier
                          Team Build Web
                          Services


                                               Build Machine



                               Data Tier
                           Sources
            Team
          Foundation       Work items
          warehouse
                           Team Build data
                                                  MSBuild
black
marble
Using the TFS Event Handling
         TFS
                                      Your Application
    TFS queues the     Access the
         build          TFS web
                                       Create a local
                      services only
                                      build queue view
                      via the 32bit
                                            object
      TFS raises        TFS API
      BuildQueue
    StatusChanged
         Event                         Register event
                                      handler for status
                                         changed
     Build finishes

                                          On status
      TFS raises                      changed request
      BuildQueue                      build details from
    StatusChanged                         build view
         Event



black
marble
         Our build monitor




black
marble
          The Future for TFS

• Release Types
  – Servicing : Service Packs etc.
  – Out of Band releases: Power Tools
  – Visual Studio 2010 „Rosario‟




 black
 marble
             Visual Studio 2010

•   Improved Architecture design surfaces
•   Manual Testing tools & Lab Manager
•   Gated Check-in
•   Greatly improved Team Build process

• And much much more............


    black
    marble
  So is TFS the answer to all
project management problems?




black
marble
           Good VSTS Resources
• Patterns & Practices Team Development with
  TFS Guide
  – http://www.codeplex.com/TFSGuide

• “How Do I?” Video for Visual Studio Team
  System
  – http://msdn2.microsoft.com/en-us/teamsystem/bb507749.aspx

• Microsoft Visual Studio Team System Virtual
  Labs
  – http://msdn2.microsoft.com/en-us/virtuallabs/aa740411.aspx

• Team System Widgets
  – http://teamsystemexperts.com/widgets.aspx
  black
  marble
           Good VSTS Blogs

• Brian Harry (Product Unit Manager for Team
  Foundation Server )
  – http://blogs.msdn.com/bharry


• Rob Caron (Lead Product Manager for
  Developer Content Strategy at Microsoft)
  – http://blogs.msdn.com/robcaron



  black
  marble
           For Further Information
• My random thoughts ‘But it works
  on my PC!’
  http://blogs.blackmarble.co.uk/blogs/rfennell


• You can also get in touch via:
    Email – richard@blackmarble.co.uk
    Website – www.blackmarble.co.uk



  black
  marble

				
DOCUMENT INFO