Chapter 18Working with Source Control

What you will learn in this chapter:

  • What source control is and why you should use it
  • Using Team Foundation Services as your source code repository tool
  • How to check in and check out code
  • Merging and branching your source code

Code Downloads for this Chapter:

The wrox.com code downloads for this chapter are found at www.wiley.com/go/beginningaspnetforvisualstudio on the Download Code tab. The code is in the chapter 18 download and individually named according to the names throughout the chapter.

Source control is aptly named, because it is the process of controlling the source code that makes up your application. Source control is not about how you should name your files or directories, but rather about how you can back up and version your code. Called development operations, or DevOps, there is an entire discipline around this process, but this chapter touches on only those aspects that directly impact a developer during the process of creating and maintaining an application.

If you were going to build a business application, rather than a learning application as you are doing here, you would have planned to use source control from the very beginning, especially if multiple developers would be working on the project.

Introducing Team Foundation Services

Team Foundation Services (TFS) is Microsoft's source control product. It is available as a server product for on-premises use, as well as being available as a cloud-based version called ...

Get Beginning ASP.NET for Visual Studio 2015 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.