Archive
Working with Visual Studio 2010 – Part 6
This is part 6 of my Working with Visual Studio 2010 video series. So far we have covered these topics in previous parts:
- Part 1 – Creating the Team Project
- Part 2 – Creating the User Stories
- Part 3 – Adding Users to Team Projects
- Part 4 – Planning the Iteration
- Part 5 – Test Driven Development
In part 6 I continue doing some Test Driven to actually make our unit test go to the green state. I also show some quick ADO.NET Entity Framework use and finally how to check-in your code to Team Foundation Server while associating that check-in with the developer task.
Hope you like it!
Julio
Working with Visual Studio 2010 – Part 5
This is part 5 of my Working with Visual Studio 2010 video series. So far we have covered these topics in previous parts:
- Part 1 – Creating the Team Project
- Part 2 – Creating the User Stories
- Part 3 – Adding Users to Team Projects
- Part 4 – Planning the Iteration
In part 5 I show how to start coding using some Test Driven Development. Ran a little bit out of time, so this part covers from the Visual Studio solution creation to running the unit test getting a fail result. Next part covers making the test pass.
Enjoy!
Julio
Working with Visual Studio 2010 – Part 4
This is part 4 of my Working with Visual Studio 2010 video series. So far we have covered these topics in previous parts:
- Part 1 – Creating the Team Project
- Part 2 – Creating the User Stories
- Part 3 – Adding Users to Team Projects
In part 4 I show how to plan your iteration, also known as sprint. You can see how to specify the iteration duration, assign tasks to team members and check your iteration capacity to make sure the team will not commit to more tasks than they can actually complete.
Hope you like it.
Julio
Working with Visual Studio 2010 – Part 3
This is part 3 of my Working with Visual Studio 2010 video series. So far we have covered these topics in previous parts:
In this third part I show how to add users to Team Projects. This requires granting access to domain users in Team Foundation Server, SharePoint and Reporting Services. An easy task but usually causes a little confusion when working with TFS for first time.
In next part I will show how to appropriately plan your first sprint and you’ll see some cool stuff in the new Iteration Backlog Excel workbooks that come with TFS 2010. Don’t miss it!
Julio
Working with Visual Studio 2010 – Part 2
This is part 2 of my Working with Visual Studio 2010 video series. So far we have covered these topics in previous parts:
Part 1 – Creating the Team Project
In this second part I show how to specify the application’s requirements using User Stories, which is a common approach while working with the Scrum software development process.
In next part we will create the actual Visual Studio solution and start creating some unit tests. Stay tuned!
Julio
Working with Visual Studio 2010 – Part 1
This is the first part of a series of videos where I would like to show how to take advantage of the Visual Studio 2010 suite while working on common tasks that most software development teams face everyday. This first part is about the initial creation of the Team Project and a quick overview of what you get once the project is created, like the Team Explorer, the Project Portal, Web Access and related stuff.
Hope you like it!
Julio
Team Foundation Server 2010 Beta 2 + Office SharePoint Server 2007 Single Server Installation – Part 2
In Part 1 of my TFS 2010 Beta 2 + MOSS 2007 Single Server Installation walkthrough I described all TFS 2010 prerequisites and presented the necessary steps for a proper MOSS 2007 installation so that it can interoperate with TFS. In this second part I will present how to perform the actual TFS 2010 installation, which is much easier as you will see.
TFS 2010 Installation
To install TFS 2010:
1. Launch the setup and click Next.
2. In the license terms screen, select I have read and accept the license terms and click Next.
3. In the features to install screen select only Team Foundation Server and Build Service on the left side. You don’t need the Extensions for SharePoint Products and Technologies as you already installed MOSS 2007 in this server. Team Foundation Server Proxy is not needed either because that applies for remote access scenarios. Click Install and wait for the installation to finish.
4. In the final screen make sure the Launch Team Foundation Server Configuration Tool checkbox is checked and click Finish.
The TFS Configuration Tool will now start.
TFS 2010 Configuration
TFS 2010 configuration is a separate process from the main installation. This gives you the great benefit of being able to reconfigure your TFS as many times as you want without having to reinstall the software.
To configure TFS 2010:
1. On the Team Foundation Server Configuration screen select Advanced on the left side and click Start Wizard.
2. On the Team Foundation Server Advanced Configuration Wizard welcome screen click Next.
3. On the Database screen enter the name of your SQL Server Instance and click Next.
4. On the Account screen choose Use a system account and select NT AUTHORITY\NETSORK SERVICE. This is my personal option for the simplest configuration scenario but you may want to specify some other account here. Select NTLM for the authentication method and click Next.
5. On the Application Tier screen select Create a new site and accept the default values. This is the site to which your users will connect from their Visual Studio client computers. Click Next.
6. On the Reporting screen check the Configure Reporting for use with Team Foundation Server checkbox and click Next.
7. On the Reporting Services screen enter the name of your Reporting Services Instance and select the Report Server and Report Manager URLs. Then click Next.
8. On the Analysis Services screen enter the name of your Analysis Services instance and click Next.
9. On the Report Reader Account enter the credentials for your TFSREPORTS account. If you’re following this walkthrough from Part 1 (where you can find the requirements for this account) the account would be <domain>\tfsreports. Click Ne
xt.
10. On the SharePoint screen check the Configure SharePoint Products for use with Team Foundation Server checkbox and click Next.
11. On the SharePoint Settings screen select Use an existing server farm for SharePoint Products and accept the defaults for the Site URL and Administration URL, which should match the MOSS 2007 installation performed on Part 1. Click Test for both URLs and click Next after both tests pass.
12. On the Project Collection screen check the Create a new team project collection checkbox, leave the default value for the collection name (DefaultCollection) and click Next.
13. On the Review screen click Next.
14. On the Readiness Checks screen wait until all checks pass and click Configure.
15. On the Configure screen wait until all configurations finish and click Finish.
16. On the Complete screen click Close.
Associating the Enterprise Application Definition
When you use MOSS 2007 with TFS 2010 you need to associate the enterprise application definition you created in SharePoint with your TFS configuration.
To associate the enterprise application definition:
1. Open the Team Foundation Server Administration Console from Start Menu –> Microsoft Team Foundation Server 2010 Beta 2 on your server.
2. Select Extensions for SharePoint Products on the left side and on the right side select the SharePoint application you created for TFS and click Modify Access.
3. On the Access for Team Foundation Server dialog enter the name of your enterprise application definition you created in SharePoint (we did this in Part 1) and click OK.
Team Foundation Build Configuration
This is an optional step, but you should really consider configuring your build server right away if you pretend to do any serious software development. This is pretty easy anyway, so why not!
To configure Team Foundation Build:
1. Open the Team Foundation Server Administration Console from Start Menu –> Microsoft Team Foundation Server 2010 Beta 2 on your server. Click on Team Foundation Build Configuration on the left side and then click on Configure Installed Features on the right side.
2. On the Team Foundation Server Configuration screen click Start Wizard.
3. On the Team Foundation Build Service Configuration wizard welcome screen click Next.
4. On the Project Collection screen click Browse… to choose the team project collection you will associate with this build configuration.
5. On the Connect to Team Project Collection dialog click Servers… to select your Team Foundation Server.
6. On the Add/Remove Team Foundation Server dialog click Add.. to add your Team Foundation Server to the list.
7. On the Add Team Foundation Server dialog enter the name of your server (your Team Foundation Server) in the top most text box and leave the defaults for the rest. Then click OK then Close and finally Connect in the previous dialogs.
8. Back in the Project Collection screen you have now selected your Team Project Collection. Click Next.
9. On the Build Services screen select Use the default setting and select 1 (recommended) for the number of build agents. This is appropriate as this is a single server.
10. On the Settings screen select NT AUTHORITY\NETWORK SERVICE for the Team Foundation Build Service account (again, my personal choice to simplify things) and accept the default port (9191). Then click Next.
11. On the Review screen click Next.
12. On the Readiness Checks screen wait until all checks pass and click Configure.
13. On the Configure screen wait until all configurations are done and click Next.
14. On the Complete screen click Close and then click Close again in the previous screen.
15. Your build server is now ready.
You’re Done!
Yep, your new TFS 2010 installation is ready and you should be able to connect to TFS from your Visual Studio client and start creating Team Projects. I will probably start there in my next post so stay tuned!
Julio