A short screencast where I introduce the new Basic configuration of Team Foundation Server (TFS) 2010. Video is based on TFS 2010 Beta 2 and shows how to create your first team project and add your Visual Studio solution to source control while associating it with a new user story.
Hi, and in this
screencast I would like to introduce you
to the new basic configuration of Visual
Studio 2010 Team Foundation Server. If
you need uh information on how to
install Team Foundation Server, which is
what we're not covering in this
screencast, you can check my blog
hurasal.com where I created just
published a blog post about installing
Team Foundation server.
basic configuration um basically on a
Windows 7 machine, a client machine, you
don't you don't need a server computer
for this. Okay, so once you have the
foundation server installed in your
computer, how do you get started? Well,
the first thing that you have to do is
to create your team project.
So, well, before that, you need to
connect to team foundation server. So we
just click there connect to the
information foundation server. Let's go
to the servers dialogue add. And let's
add our local
instance of the foundation server. Okay.
Let's click
okay. Close. And now we can see our
local server here. Our default
collection where these collections are
just like groups of team projects. So
you can better manage
them. Let's connect this
And now you can see the default
collection in the right side. Now that
we have this, we will uh right click and
create a new team project. For this uh
simple uh example, we will just create a
small Windows application for listing a
series of uh book titles in this in our
bookstore. So let's just call
this books.
We have to choose one um one development
process. For this one, we will just
choose the MSS for agile software
development version
five. Let's create an empty source
control folder and
finish. So what Visual Studio is doing
right now is uh creating all the source
control store in our local SQL server
express database.
Okay, this will include also the
definitions for the work items that we
will be able to
create. So using MSF uh for agile five,
you can create word items like user
stories which is the the basic the basic
word item that you will uh have to use
in this process. Uh you can also create
tasks. You can create bugs of course for
bug tracking and several auto uh work
items. We will just create a simple user
story for this example and then uh do
all the source control stuff
related. Okay. So right now the wizard
is about to end and it just end. So
let's close this. In the right side, you
can see we do have the team project
created. And what we're going to do
right now is to right click and select
new item user story or just new user
story if you already did this comment
before. So what we want to do, let's
state what the customer wants to do
here. So, as a customer, I want
to see a list of all the
available books. Okay, so the customer
wants to see the the list of all
available books. Let's just h we do not
have to complete all this stuff right
now. Let's just h say that this will be
assign it to me to Julio and the state
is active recent new and for iteration
let's just choose our product backlog
where this product backlog is where we
will store all the user stories
basically all the requirements that will
be related to this uh to this
application. So with this created let's
just close and save it.
And now that we have the user story,
what we have to do is of course to
create our project. So let's go to file,
new
project. And we will choose our WPF
application. We will call it
books.
Okay. So our project is just being
created. We will just add a simple uh
grid data grid the new data grid
included in
WPS4 to display the the customers from
our local database. I will be using the
old and popular pups
database for this
example. So let's just wait while this
is loading.
So what the first thing that we should
do here before even starting coding here
is to add this solution to source
control.
So So let's just right click here and
select add solution to source
control. We have to choose um a
collection. Well, we already know of the
collection default collection. We have
to choose the team project. We could
create new folders here. We will not do
that right now. And let's just click
okay. Once we do this, our project is
ready to be added to source control. We
will do the appropriate check in to
source control uh a little bit later. So
right now, let's just code quickly code
this application. So I will do some
something quick stuff.
So for now, let's just uh change the
default layout of this application to an
ST panel. This is just for layout
purposes. And once we are here, let's we
will need some of course some data grid.
So let's open up the our data sources
window. Let's add a new data
source. We will need a database data
source and an entity data model. We can
also choose a data set, but for this
example, we will just use entity data
model.
So what the wizard will do now is to
um prompt us for a database to connect
to. I as I said I prepared the pops
database in my local SQL server express
installation. And now we will uh select
which table we will use now.
So let's use the titles table and click
finish.
The wizard will now create our entity
data
model in our project. It will also add
several references to the .NET
framework. Okay. And in the end, we will
see our new data source appear in this
left panel. So you can see we already
have our our table here. We will just
close this for now. And we can see our
titles and table in data source. We will
just drag this to the main
surface. Okay. And you can see we do
have it right there. Let's
just make it look better. Let's just
remove the both height and the
width so it will fill all the screen.
And for example, F title, let's just do
not uh width to the heater, do not size
to the heater, but to the full context
of of that column. Once we do that,
let's debug. Start without
debugging. See what we
got.
And there we go. Our application is up
and running. We have all the titles as
the customer required. So we can say
that this application is complete. So
let's now just close this this and this.
And what we have to do right now is to
check in this source code into the
source control. So we will just right
click there check in. We have to uh
choose which is the associated work
item. We do have the user story
associated and we will associate
this to our
checkin. Okay. So now our application is
into source control and in a very
similar way as source safe provided us
before and we can keep working with
business infotation server. We can do
backtracking build process stuff and
well that's all I got for today. Hope
you liked it. See you again.
No comments:
Post a Comment