Start learning with our library of video tutorials taught by experts. Get started
Viewers: in countries Watching now:
This course is a gateway to learning software version control (SVC), process management, and collaboration techniques. Author Michael Lehman reviews the history of version control and demonstrates the fundamental concepts: check-in/checkout, forking, merging, commits, and distribution. The choice of an SVC system is critical to effectively managing and versioning the assets in a software development project (from source code, images, and compiled binaries to installation packages), so the course also surveys the solutions available. Michael examines Git, Perforce, Subversion, Mercurial, and Microsoft Team Foundation Server (TFS) in particular, describing the appropriate use, features, benefits, and optimal group size for each one.
Time to roll up our sleeves and dig into Microsoft Team Foundation Server. Microsoft Team Foundation Server is a centralized revision control system. This means that there is a server with an actual database that holds your repository and all of your projects. There are two versions. There is the full on TFS, which requires an installation of full SQL Server and has to be run on a Windows Server Installation, and that's great for enterprises and large groups. There's also a free for open-source hosted version at codeplex.com.
And just recently, Microsoft introduced the Team Foundation Server Express Edition 2012, another one of those great names which is free for up to five users. It's something you can download and install, and it requires installation of SQL Server Express, but that's something that you get with Visual Studio 2010 and Visual Studio 2012. There is also a number of commercial companies which host TFS installations, including discount ASP which has a 30 days free for five users and then fairly reasonable fees for hosting a TFS installation.
For this chapter we're going to install the Team Foundation Server Express 2012, abbreviated TFS. You can just as easily work through this chapter using the free TFS server on codeplex or your own full installation of TFS. The link of installation binaries and the Links.rtf file in the Exercise's directory. The installation of Team Foundation Server Express 2012 is straightforward; however, you may run into an issue with SQL Server permissions if you've had a previous version of Visual Studio or SQL Server installed on your development machine.
There's a link in the Links.rtf file to a page where you can download a script to fix this issue. The installation of TFS Express is essentially hands-off and takes about 30 minutes, so we're not going to do a full walk-through. Also, while some TFS functionality can be done from the command line, the real TFS experience is within Visual Studio. So we'll be doing everything for TFS using the Visual Studio GUI. So let's fire up Visual Studio and make sure that we've got Team Foundation Server properly installed.
To validate that you've got TFS installed you can see that you've got the TEAM menu. So we selected TEAM menu and select Connect to Team Foundation Server. Here you can see this is a list of team project collections and projects. We don't have any servers installed yet, so we're going to click the Servers button, then we're going to click Add, then we're going to enter the name of the machine on which the TFS Server is installed. In our case here, it's car-booth-06-pc. By default, TFS works on a TFS PATH and a Port Number of 8080 and over HTTP.
Your administrator may have additional settings for you here, different Port Numbers, different Paths, use of HTTPS. Check and ask your administrator for the URL of your Team Foundation Server if you're using something other than the Team Foundation Server Express. If you're using codeplex, go to the Source Code Control Tab and select the Source Code Control, connect information, and it will give you an HTTP URL and the User ID and Password that you'll need to connect to the TFS instance on codeplex.
So over here, we're just going to click OK and then we're going to click Close, and now you can see we've got Team Foundation Server, and it has a default collection, so from that point of view, we're good to go. So we'll click Connect, and now we see the Team Explorer - Home. So that's it for our TFS setup. Now let's move on to creating a team project and then creating some projects to check in to our TFS instance.
There are currently no FAQs about Fundamentals of Software Version Control.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.