Getting Started with TFS Hosted
Team Foundation Server enables everyone in your team to collaborate more effectively, be more agile, and deliver higher quality software. For busy or small development teams who don’t have a dedicated system admin to perform the setup, backup and other maintenance tasks, hosting TFS might be a good choice.
* Account Signup
Fill out the form, and click the “sign up” button.
- Account info
After clicking “sign up”, we will be directed to the hosted web portal, where the account info is displayed.
* Built-in admin user
- Click “User Management” in the left menu tree of the web portal
We can see that a default user “
* Connect to TFS with the admin user in Visual Studio
- Open Team Explorer Open Visual Studio, and check if the Team Explorer window is visible in Visual Studio. If not, please go to menu “View” and click on “Team Explorer”.
Visual Studio 2010 has the ability to connect to TFS built in. If your installation of Visual Studio 2010 doesn’t include Team Explorer, you will need to download and install Microsoft Visual Studio Team Explorer 2010 - ISO
- Connect to Team Foundation Server…
In Visual Studio, click “Connect to Team Foundation Server…“ under the menu “Team”. Click on “Servers…”, then click on “Add…”, enter the Server URL of your TFS Hosted account. For example: “s01.tfshosted.com”.
By default, the connection to the server uses HTTPS protocol with the SSL certificate.
Input the credentials.
Add solution to source control
- Open a project/solution
Open a local project in Visual Studio and switch to the Solution Explorer window.
- New team project
To create a team project on the server, please right click on the server name in Team Explorer, and then choose “New Team Project” from the content menu.
- Add solution to source control
In Solution Explorer, right click on the solution file and choose “Add Solution to Source Control” from the content menu.
We see yellow plus icons beside the filenames. You need to perform a “Check In” action to check all the files to the server. You can right click on the solution name and choose “Check In”. Or you can open the Pending Changes window and click the “Check In” button.
NOTE: Please make sure “Visual Studio Team Foundation Server” is chosen as current SCC provider at menu “Tools” - > “Options” -> “Source Control”.
- You can see the icons change to locks, that means check in completed. Now your code is in good hands and enjoy.
Manage other users for collaboration
- Add user
Back to step 3. Click “User Management” in the left menu tree of the web portal, we see a “Create User” button. Here we can create user names for other team members and set the initial passwords for them.
- Permission setup
In the web portal, click “Project Group” in the left menu tree. Choose the team project we created in step 7. New team project from the “Project” dropdown list, and click the icons in the “View/Edit Members” for user permission management.
- Other team members’ login in Visual Studio
As we did in step 5. Connect to Team Foundation Server…, first we open Visual Studio, and then click menu “Team” -> “Connect to Team Foundation Server”. In the “Add Team Foundation Server” dialog box, we input the same URL. When credentials are required, we input what the admin user created in step 11. Permission setup.
- Team collaboration
Now other team members can access the code and work items in the team project where they have proper permission. Like how other version control systems work, developers can pull code and work items from server to their workspaces using “Get Latest Version” in Team Explorer. And here begins the team collaboration.