SlideShare une entreprise Scribd logo
1  sur  7
© 2012 MPS Partners.. All rights reserved.
MPS Partners
August 15, 2013
TFS Tips & Best Practices
2
Agenda
• What is TFS?
• What to Check-In
• The Right Way to Check-In
• Using Shelvesets
• Things to watch out for
• Demo
What is TFS (Short Answer)?
• Team Foundation Server
• Much more than just source control
– Integrated Testing via Microsoft Test Manager
– Team Web Access
– Integration with SharePoint
– Reporting (SSRS)
• Variety of clients
– Integrated in Visual Studio
– Microsoft Test Manager
– Excel
– 3rd Party IDE Plugins
• Eclipse
• Xcode (Apple)
• Etc.
4
What to check in?
• Solution Files
– Solution
– Projects
• Nuget Packages
• Scripts
– PowerShell
– Batch Files
– SQL
• Documentation
– Deployment Instructions
– Technical Details
– Etc.
5
The right way to check in code
• Get Latest before checking in!
• Get Latest before checking in again!
– More important with Visual Studio 2010
• Conflict Resolution
• Show Changes
– Show All Changes
– Show Solution Changes
• Check In Working Code
• Run UnitTests
– If Practical
6
Using Shelvesets
• Why create a shelveset
– Interruption
– Collaboration
– Code Review
• Visual Studio Premium and up has a Code Review feature
– Private Build
– Backup
– Handoff
• See MSDN topic “Suspend Your Work and Manage your Shelvesets”
– http://msdn.microsoft.com/en-us/library/ms181403.aspx
7
Things to watch out for
• Ignoring Solution (*.sln) and Project (*.csproj, etc.) Files
• Not Checking in NuGet packages
• DLLs in general
• Checking in app.config/web.config files with local settings
• Adding Solutions/Projects to source control manually
• Lazy Conflict Resolution
– Do not always keep local copy
– Be cautious of auto-merge
• Not including comments on your check-ins
• If you’re not sure Ask for Help

Contenu connexe

Tendances

Tendances (20)

Aistė Stikliutė - Testing in continuous delivery
Aistė Stikliutė - Testing in continuous deliveryAistė Stikliutė - Testing in continuous delivery
Aistė Stikliutė - Testing in continuous delivery
 
Continuous Delivery with VS2015 and TFS2015
Continuous Delivery with VS2015 and TFS2015Continuous Delivery with VS2015 and TFS2015
Continuous Delivery with VS2015 and TFS2015
 
Sencha Roadshow 2017: What's New in Sencha Test
Sencha Roadshow 2017: What's New in Sencha TestSencha Roadshow 2017: What's New in Sencha Test
Sencha Roadshow 2017: What's New in Sencha Test
 
Sencha Roadshow 2017: Best Practices for Implementing Continuous Web App Testing
Sencha Roadshow 2017: Best Practices for Implementing Continuous Web App TestingSencha Roadshow 2017: Best Practices for Implementing Continuous Web App Testing
Sencha Roadshow 2017: Best Practices for Implementing Continuous Web App Testing
 
Sencha Roadshow 2017: Sencha Upgrades - The Good. The Bad. The Ugly - Eva Luc...
Sencha Roadshow 2017: Sencha Upgrades - The Good. The Bad. The Ugly - Eva Luc...Sencha Roadshow 2017: Sencha Upgrades - The Good. The Bad. The Ugly - Eva Luc...
Sencha Roadshow 2017: Sencha Upgrades - The Good. The Bad. The Ugly - Eva Luc...
 
SPSNL17 - Getting started with SharePoint development for the reluctant IT Pr...
SPSNL17 - Getting started with SharePoint development for the reluctant IT Pr...SPSNL17 - Getting started with SharePoint development for the reluctant IT Pr...
SPSNL17 - Getting started with SharePoint development for the reluctant IT Pr...
 
Increase selenium tests stability via java script
Increase selenium tests stability via java scriptIncrease selenium tests stability via java script
Increase selenium tests stability via java script
 
Quality Built In @ Spotify
Quality Built In @ SpotifyQuality Built In @ Spotify
Quality Built In @ Spotify
 
DevOps Engineer [Arabic]
DevOps Engineer [Arabic]DevOps Engineer [Arabic]
DevOps Engineer [Arabic]
 
Salesforce Org lifecycle management : empowering admins
Salesforce Org lifecycle management : empowering adminsSalesforce Org lifecycle management : empowering admins
Salesforce Org lifecycle management : empowering admins
 
O365Con18 - SharePoint Framework for Administrators - Waldek Mastykarz
O365Con18 - SharePoint Framework for Administrators - Waldek MastykarzO365Con18 - SharePoint Framework for Administrators - Waldek Mastykarz
O365Con18 - SharePoint Framework for Administrators - Waldek Mastykarz
 
Team-based Development with Version Control
Team-based Development with Version ControlTeam-based Development with Version Control
Team-based Development with Version Control
 
Level Up Your Salesforce Unit Testing
Level Up Your Salesforce Unit TestingLevel Up Your Salesforce Unit Testing
Level Up Your Salesforce Unit Testing
 
Learn Key Insights from The State of Web Application Testing Research Report
Learn Key Insights from The State of Web Application Testing Research ReportLearn Key Insights from The State of Web Application Testing Research Report
Learn Key Insights from The State of Web Application Testing Research Report
 
Azure Integration DTAP Series, How to go from Development to Production – Par...
Azure Integration DTAP Series, How to go from Development to Production – Par...Azure Integration DTAP Series, How to go from Development to Production – Par...
Azure Integration DTAP Series, How to go from Development to Production – Par...
 
Web Application Testing with Selenium
Web Application Testing with Selenium Web Application Testing with Selenium
Web Application Testing with Selenium
 
SharePoint Saturday San Antonio: Workflow 2013
SharePoint Saturday San Antonio: Workflow 2013SharePoint Saturday San Antonio: Workflow 2013
SharePoint Saturday San Antonio: Workflow 2013
 
Microservices; A Quick Introduction
Microservices; A Quick IntroductionMicroservices; A Quick Introduction
Microservices; A Quick Introduction
 
8 implementation notes
8 implementation notes8 implementation notes
8 implementation notes
 
Agile test-management-test-rail-lastest
Agile test-management-test-rail-lastestAgile test-management-test-rail-lastest
Agile test-management-test-rail-lastest
 

En vedette

Brownbag template
Brownbag templateBrownbag template
Brownbag template
coolstuff
 
Johnson Dp. Mis Knee Replacement. What Are The Functional Benefits. Slide 1 18
Johnson Dp. Mis Knee Replacement. What Are The Functional Benefits. Slide 1 18Johnson Dp. Mis Knee Replacement. What Are The Functional Benefits. Slide 1 18
Johnson Dp. Mis Knee Replacement. What Are The Functional Benefits. Slide 1 18
Struijs
 
Chapter 06 setting prices and implementing revenue management
Chapter 06 setting prices and implementing revenue managementChapter 06 setting prices and implementing revenue management
Chapter 06 setting prices and implementing revenue management
Nardin A
 

En vedette (18)

Brownbag template
Brownbag templateBrownbag template
Brownbag template
 
William Bronchick Coaching
William Bronchick CoachingWilliam Bronchick Coaching
William Bronchick Coaching
 
Performance management system slide
Performance management system slidePerformance management system slide
Performance management system slide
 
Presentation Portfolio
Presentation PortfolioPresentation Portfolio
Presentation Portfolio
 
Talent management strategy
Talent management strategyTalent management strategy
Talent management strategy
 
Sermon Slide Deck: "The Best Present Ever" (John 3:16)
Sermon Slide Deck: "The Best Present Ever" (John 3:16)Sermon Slide Deck: "The Best Present Ever" (John 3:16)
Sermon Slide Deck: "The Best Present Ever" (John 3:16)
 
The art to facilitating great collaborative workshops - MYOB Brown Bag - 08_0...
The art to facilitating great collaborative workshops - MYOB Brown Bag - 08_0...The art to facilitating great collaborative workshops - MYOB Brown Bag - 08_0...
The art to facilitating great collaborative workshops - MYOB Brown Bag - 08_0...
 
Return of the Retrospectives - SEEK Brown Bag - 21-10-14
Return of the Retrospectives - SEEK Brown Bag - 21-10-14Return of the Retrospectives - SEEK Brown Bag - 21-10-14
Return of the Retrospectives - SEEK Brown Bag - 21-10-14
 
Sample
SampleSample
Sample
 
Johnson Dp. Mis Knee Replacement. What Are The Functional Benefits. Slide 1 18
Johnson Dp. Mis Knee Replacement. What Are The Functional Benefits. Slide 1 18Johnson Dp. Mis Knee Replacement. What Are The Functional Benefits. Slide 1 18
Johnson Dp. Mis Knee Replacement. What Are The Functional Benefits. Slide 1 18
 
Brown Bag Lunch Strategy
Brown Bag Lunch StrategyBrown Bag Lunch Strategy
Brown Bag Lunch Strategy
 
Java Course 11: Design Patterns
Java Course 11: Design PatternsJava Course 11: Design Patterns
Java Course 11: Design Patterns
 
Java static keyword
Java static keywordJava static keyword
Java static keyword
 
Chapter 5 selection
Chapter 5 selection Chapter 5 selection
Chapter 5 selection
 
Java keywords
Java keywordsJava keywords
Java keywords
 
Introduction to Brain Computer Interface
Introduction to Brain Computer InterfaceIntroduction to Brain Computer Interface
Introduction to Brain Computer Interface
 
Chapter 06 setting prices and implementing revenue management
Chapter 06 setting prices and implementing revenue managementChapter 06 setting prices and implementing revenue management
Chapter 06 setting prices and implementing revenue management
 
Introduction to Slide Design: 7 Rules for Creating Effective Slides
Introduction to Slide Design: 7 Rules for Creating Effective SlidesIntroduction to Slide Design: 7 Rules for Creating Effective Slides
Introduction to Slide Design: 7 Rules for Creating Effective Slides
 

Similaire à Brown bag tfs best practices - slide share

Acing application lifecycle management in SharePoint
Acing application lifecycle management in SharePointAcing application lifecycle management in SharePoint
Acing application lifecycle management in SharePoint
Jeremy Thake
 
Lean-Agile SharePoint Development
Lean-Agile SharePoint DevelopmentLean-Agile SharePoint Development
Lean-Agile SharePoint Development
Bill Ayers
 

Similaire à Brown bag tfs best practices - slide share (20)

Acing application lifecycle management in SharePoint
Acing application lifecycle management in SharePointAcing application lifecycle management in SharePoint
Acing application lifecycle management in SharePoint
 
A Day in the Life: Developer Enhancements with Visual Studio 2012
A Day in the Life: Developer Enhancements with Visual Studio 2012A Day in the Life: Developer Enhancements with Visual Studio 2012
A Day in the Life: Developer Enhancements with Visual Studio 2012
 
Lap around ALM with Visual Studio and TFS 2013
Lap around ALM with Visual Studio and TFS 2013Lap around ALM with Visual Studio and TFS 2013
Lap around ALM with Visual Studio and TFS 2013
 
Visual studio 2012 - What's in it for me?
Visual studio 2012 - What's in it for me?Visual studio 2012 - What's in it for me?
Visual studio 2012 - What's in it for me?
 
Lean-Agile Development with SharePoint - Bill Ayers
Lean-Agile Development with SharePoint - Bill AyersLean-Agile Development with SharePoint - Bill Ayers
Lean-Agile Development with SharePoint - Bill Ayers
 
Upgrading to Team Foundation Server (TFS) 2012 – What You Need to Know! (07-2...
Upgrading to Team Foundation Server (TFS) 2012 – What You Need to Know! (07-2...Upgrading to Team Foundation Server (TFS) 2012 – What You Need to Know! (07-2...
Upgrading to Team Foundation Server (TFS) 2012 – What You Need to Know! (07-2...
 
Lean-Agile SharePoint Development
Lean-Agile SharePoint DevelopmentLean-Agile SharePoint Development
Lean-Agile SharePoint Development
 
Introduction to Test Driven Development
Introduction to Test Driven DevelopmentIntroduction to Test Driven Development
Introduction to Test Driven Development
 
AgileDC15 I'm Using Chef So I'm DevOps Right?
AgileDC15 I'm Using Chef So I'm DevOps Right?AgileDC15 I'm Using Chef So I'm DevOps Right?
AgileDC15 I'm Using Chef So I'm DevOps Right?
 
Implementing Scrum with Microsoft Team Foundation Service (TFS)
Implementing Scrum with Microsoft Team Foundation Service (TFS)Implementing Scrum with Microsoft Team Foundation Service (TFS)
Implementing Scrum with Microsoft Team Foundation Service (TFS)
 
Getting Started With Coded UI testing: Building Your First Automated Test
Getting Started With Coded UI testing: Building Your First Automated TestGetting Started With Coded UI testing: Building Your First Automated Test
Getting Started With Coded UI testing: Building Your First Automated Test
 
Power Shell - Windows - Advanced Tools 3.0
Power Shell - Windows - Advanced Tools 3.0Power Shell - Windows - Advanced Tools 3.0
Power Shell - Windows - Advanced Tools 3.0
 
Adventures in enterprise architecture
Adventures in enterprise architectureAdventures in enterprise architecture
Adventures in enterprise architecture
 
ALM with TFS: From the Drawing Board to the Cloud
ALM with TFS: From the Drawing Board to the CloudALM with TFS: From the Drawing Board to the Cloud
ALM with TFS: From the Drawing Board to the Cloud
 
Collab365 Global Conference 1 Rolling out Microsoft Teams for collaboration i...
Collab365 Global Conference 1 Rolling out Microsoft Teams for collaboration i...Collab365 Global Conference 1 Rolling out Microsoft Teams for collaboration i...
Collab365 Global Conference 1 Rolling out Microsoft Teams for collaboration i...
 
Steve Jones - Team-based Version Control
Steve Jones - Team-based Version ControlSteve Jones - Team-based Version Control
Steve Jones - Team-based Version Control
 
PowerShell 101 - What is it and Why should YOU Care!
PowerShell 101 - What is it and Why should YOU Care!PowerShell 101 - What is it and Why should YOU Care!
PowerShell 101 - What is it and Why should YOU Care!
 
Introduction to SharePoint Developer
Introduction to SharePoint DeveloperIntroduction to SharePoint Developer
Introduction to SharePoint Developer
 
SharePoint Development
SharePoint DevelopmentSharePoint Development
SharePoint Development
 
Learning portfolio
Learning portfolioLearning portfolio
Learning portfolio
 

Dernier

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Dernier (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 

Brown bag tfs best practices - slide share

  • 1. © 2012 MPS Partners.. All rights reserved. MPS Partners August 15, 2013 TFS Tips & Best Practices
  • 2. 2 Agenda • What is TFS? • What to Check-In • The Right Way to Check-In • Using Shelvesets • Things to watch out for • Demo
  • 3. What is TFS (Short Answer)? • Team Foundation Server • Much more than just source control – Integrated Testing via Microsoft Test Manager – Team Web Access – Integration with SharePoint – Reporting (SSRS) • Variety of clients – Integrated in Visual Studio – Microsoft Test Manager – Excel – 3rd Party IDE Plugins • Eclipse • Xcode (Apple) • Etc.
  • 4. 4 What to check in? • Solution Files – Solution – Projects • Nuget Packages • Scripts – PowerShell – Batch Files – SQL • Documentation – Deployment Instructions – Technical Details – Etc.
  • 5. 5 The right way to check in code • Get Latest before checking in! • Get Latest before checking in again! – More important with Visual Studio 2010 • Conflict Resolution • Show Changes – Show All Changes – Show Solution Changes • Check In Working Code • Run UnitTests – If Practical
  • 6. 6 Using Shelvesets • Why create a shelveset – Interruption – Collaboration – Code Review • Visual Studio Premium and up has a Code Review feature – Private Build – Backup – Handoff • See MSDN topic “Suspend Your Work and Manage your Shelvesets” – http://msdn.microsoft.com/en-us/library/ms181403.aspx
  • 7. 7 Things to watch out for • Ignoring Solution (*.sln) and Project (*.csproj, etc.) Files • Not Checking in NuGet packages • DLLs in general • Checking in app.config/web.config files with local settings • Adding Solutions/Projects to source control manually • Lazy Conflict Resolution – Do not always keep local copy – Be cautious of auto-merge • Not including comments on your check-ins • If you’re not sure Ask for Help