Saturday, June 8, 2013

Team Foundation Server vs. Visual SourceSafe

Wikipedia defines Source control as “Revision control is the management of multiple revisions of the same unit of information.” In other words: Source control allows distributed work in teams of any size, at different locations, while avoiding conflicts in source code changes. There are two famous source control software by Microsoft: Microsoft Visual SourceSafe and Team Foundation Server. Here is the definition for each on according to Wikipedia:
  • Microsoft Visual SourceSafe (VSS) is a source control software package oriented towards small software development projects. Like most source control systems, SourceSafe creates a virtual library of computer files.
  • Team Foundation Server (TFS) is a Microsoft product offering source control, data collection, reporting, and project tracking, and is intended for collaborative software development projects.It is available either as stand-alone software, or as the server side back end platform for Visual Studio Team System (VSTS).
We have been using the VSS for a long time, but developers always experience some network troubles when working on VSS, as well as the limited features in it. Like we can’t generate a report on the daily work, also many times developers experienced loss in their updated files. But its never too late to improve our work and look for a better solutions to protect our code and control the team work. So the decision was made to replace the VSS with the TFS.
Here is a brief list of major differences between VSS and TFS:
Architectural Differences
  • VSS: Read and write files and store them on the shared network folder
  • TFS: .NET web service that stored files and items in a SQL Server database
Security and Project Rights
  • VSS : All SourceSafe users are granted the same permission and have full access on all projects and files stored in SourceSafe
  • TFS : Team server users are window user accounts. Users will have specific permissions and project-level permission. No need to give full access to users on SQL and on all projects, the Administrator can give different permission levels to different users.
Reliability
  • VSS : Since we are dealing with transfer of data through a network, operation cannot be rolled back if a problem occurred. In the rare cases when a problem such as the loss of network connectivity does occur in the middle of a write operation, the integrity of the affected files can be compromised and information lost.
  • TFS : Team Foundation is a client-server application in which write operations occur in the database by way of stored procedures that are not subject to network connectivity issues and rolled back in the event of an error can be done. Thus no corruption of files occur, groups of files that contain dependent changes are all committed to the source control server at the same time.
Scalability
  • VSS : Teams of twenty or less users, and database size is limited to 4GB
  • TFS : up to 2000 users and can contain as much as a SQL Server database allows (terabytes)
Changesets
Both are databases organized hierarchically (folders contain files), files consist of versions, identified by number of date/time of creation.
  • VSS : No changesets
  • TFS : A changeset is a logical container in which Team Foundation stores everything related to a single check-in operation: file and folder revisions, links to related work items, check-in notes, a check-in comment, and other information such as who submitted the change. For more information
Add and Create
  • VSS : Adding a file or folder creates a version of the parent in addition to the file. In the parent history, the action is recorded as “add” and in the file history; the action is recorded as “create.”
  • TFS : adding a file or folder just creates a version of the file or folder itself with a “add” action. No version of parent is created for this action.
Rename, Delete, and Undelete
  • VSS : these actions create a new version of parent;
  • TFS : they create a new version of the item itself
Move
  • VSS : When you move a folder, new versions of both the source and destination parent folders are created, with actions recorded on each parent that moves the folder into or out of the parent. No version for folder F is created.
  • TFS : only a new version of F is created by using the “Rename” action.
 Check-Out and Check-In
  • VSS : you must do an explicit check-out and check-in only if you are editing a file
  • TFS : every action requires an explicit check-out and check-in
Features that Work Differently in Team Foundation
In the VSS:
  • Silent Get operation when you check out a file
  • Checkouts are exclusive, by default
  • Does not store the merge history between two branches of files or folders
In TFS :
  • Does not perform a silent Get operation when you check out a file
  • Multiple users can check out and change the same item at the same time, you can lock a file in Team Foundation to prevent other users from checking it out or checking in changes
  • Does have support for merge history. Without merge history
After all these new features in TFS, we are sure going to upgrade from VSS to TFS.
 
Thanks
R.karthikeyan

No comments:

Post a Comment

Share this

Labels

WINDOWS SERVER (22) Windows (20) IIS (15) Interview questions (10) TFS (9) Troubleshooting Tips (9) Fortigate Firewall (8) SQL (8) Backup (6) Team Foundation Server (6) Webserver (6) Windows Administration Task (6) Microsoft certification (5) Virtualization (5) ADDS (4) Active Directory (4) FTP (4) PHP (4) SQL 2012 (4) SQL Server (4) server (4) DBA (3) MSSQL (3) Networking (3) Offer (3) Webhosting (3) Windows 8 (3) 74-409 (2) Agile Methodology (2) Apache (2) CLI Commands (2) DNS (2) Dedicated server (2) Difference between Active and Passive Connection Mode (2) Fortinet (2) GPO (2) IIS8 (2) IPAddress (2) IPV6 (2) MVA (2) Microsoft News (2) NAT (2) Software Development (2) TFS2013 (2) Uncategorized Post (2) XAMPP (2) firewall Administration. (2) powershell (2) .htaccess (1) ALM (1) Agile vs Scrum Difference (1) Blogging TIPS (1) CPanel (1) Command for Administrator (1) DC (1) DHCP (1) Domain joining nano server (1) Exam 74-409 (1) Excel TIps (1) File server (1) Fortigate Firewall HA (1) Fortigate Firmware Upgrade (1) Free Exam 70-740 (1) Free Voucher (1) Generation2 VM (1) Group Policy (1) HP (1) HP ILO IP CHange (1) HP OA IP Change (1) HP Proliant Servers (1) HTTP to HTTPS (1) Hyper-V (1) IAS (1) IIS Server hardening (1) ILO (1) Install dll (1) MCSA 2016 (1) Microsoft Virtual Academy (1) Microsoft file sharing Port (1) Migration (1) MySQL (1) NPS (1) Nano server (1) Network Drive (1) OA (1) Plesk Panel (1) Ports (1) Ports for windows file sharing (1) RADIUS (1) RDP (1) Remote Desktop Connection (1) SCRUM (1) SQL ErrorLog (1) SQL TEMPDB (1) Second Shot (1) Server 2012 (1) Startup Parameters (1) TEMPDB Movement (1) TIPS (1) Team Foundation Server 2013 (1) Temp profile. (1) Troubleshooting DNS (1) URL Rewriting (1) VDOM (1) VPS (1) VSS (1) Virtual Labs (1) Visual Studio (1) Visual Studio 2012 (1) Visual Studio 2013 (1) Visual source safe (1) Waterfall Model vs Agile Methodology (1) Windows 2016 (1) Windows 7 (1) Windows Server 2012 (1) Windows command line (1) XP (1) certification path (1) exam (1) free online courses (1) protocols/ports for windows file sharing on a firewall (1) sql error (1) what features has been installed in your SQL Server (1) windows 2012 (1) windows Time Service (1) work item types difference (1)

E-Books

Blogger Gadgets