Archive

Archive for November, 2009

Working with Visual Studio 2010 – Part 6

November 29, 2009 Leave a comment

This is part 6 of my Working with Visual Studio 2010 video series. So far we have covered these topics in previous parts:

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.

Download Video

Hope you like it!

Julio

Advertisements

Working with Visual Studio 2010 – Part 5

November 29, 2009 Leave a comment

This is part 5 of my Working with Visual Studio 2010 video series. So far we have covered these topics in previous parts:

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.

Download Video

Enjoy!

Julio

Categories: Visual Studio Tags: , ,

Working with Visual Studio 2010 – Part 4

November 28, 2009 10 comments

This is part 4 of my Working with Visual Studio 2010 video series. So far we have covered these topics in previous parts:

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.

Download Video

Hope you like it.

Julio

Working with Visual Studio 2010 – Part 3

November 22, 2009 3 comments

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.

Download Video

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

November 21, 2009 Leave a comment

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.

Download Video

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

November 17, 2009 22 comments

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.

Download Video

Hope you like it!

Julio

Team Foundation Server 2010 Beta 2 + Office SharePoint Server 2007 Single Server Installation – Part 2

November 2, 2009 17 comments

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.

TFS01

2. In the license terms screen, select I have read and accept the license terms and click Next.

TFS02

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.

TFS03

4. In the final screen make sure the Launch Team Foundation Server Configuration Tool checkbox is checked and click Finish.

TFS04

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.

TFS05

2. On the Team Foundation Server Advanced Configuration Wizard welcome screen click Next.

TFS06

3. On the Database screen enter the name of your SQL Server Instance and click Next.

TFS07

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.

TFS08

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.

TFS09

6. On the Reporting screen check the Configure Reporting for use with Team Foundation Server checkbox and click Next.

TFS10

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.

TFS11

8. On the Analysis Services screen enter the name of your Analysis Services instance and click Next.

TFS12

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
.

TFS13

10. On the SharePoint screen check the Configure SharePoint Products for use with Team Foundation Server checkbox and click Next.

TFS14

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.

TFS15

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.

TFS16

13. On the Review screen click Next.

TFS17

14. On the Readiness Checks screen wait until all checks pass and click Configure.

TFS18

15. On the Configure screen wait until all configurations finish and click Finish.

TFS19

16. On the Complete screen click Close.

TFS20

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.

TFS21

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.

TFS22

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.

TFS23

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.

TFS24

2. On the Team Foundation Server Configuration screen click Start Wizard.

TFS25

3. On the Team Foundation Build Service Configuration wizard welcome screen click Next.

TFS26

4. On the Project Collection screen click Browse… to choose the team project collection you will associate with this build configuration.

TFS27

5. On the Connect to Team Project Collection dialog click Servers… to select your Team Foundation Server.

TFS28

6. On the Add/Remove Team Foundation Server dialog click Add.. to add your Team Foundation Server to the list.

TFS29

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.

TFS30

TFS31

TFS32

8. Back in the Project Collection screen you have now selected your Team Project Collection. Click Next.

TFS33

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.

TFS34

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.

TFS35

11. On the Review screen click Next.

TFS36

12. On the Readiness Checks screen wait until all checks pass and click Configure.

TFS37

13. On the Configure screen wait until all configurations are done and click Next.

TFS38

14. On the Complete screen click Close and then click Close again in the previous screen.

TFS39

TFS40

15. Your build server is now ready.

TFS41

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