Sunday, March 20, 2005

Creating an ASP.NET 2.0 Project, sorry, I mean Web Site, in VSTS

I'm kind of jumping around in Visual Studio Team System (VSTS), looking at things as they strike my fancy. In this post, I'm going to go through my process of creating an ASP.NET 2.0 Web Site in VSTS. (Note that it is not called a "project" anymore. I'll see if I can find out why at some point).

I opened Visual Studio 2005 (VS2005), and selected File->New->Web Site. This opens the "New Web Site" dialog box:

Figure 1 - New Web Site Dialog Box

VS2005 comes with five pre-installed templates for me to use for creating new web sites:

  • ASP.NET Web Site - A blank ASP.NET web site

  • Empty Web Site - An empty web site

  • ASP.NET Web Service - A web site for creating XML web services

  • ASP.NET Crystal Reports Web Site - An ASP.NET web site with a sample crystal report

  • Personal Web Site Starter Kit - Starter kit for creating a personal web site


There is a Language Drop Down List Box (DDLB), for selecting my development language. Currently, there are three options: Visual Basic, Visual C#, and Visual J# (does anyone actually use J#? Just curious)

There is a Location DDLB with the options: File System, HTTP, FTP. It defaults to File System->My Documents\Visual Studio\Websites\website1. You can click the Browse button, which opens the Choose Location dialog box:

Figure 2 - Choose Location Dialog Box

This dialog also gives you options, such as opening an existing website, or creating a new FrontPage website, among others.

I'm just going to build an ASP.NET web site, so I pick that option. I select C# as my Language, and File System as my Location. I changed the File System folder name to be: My Documents\Visual Studio\WebSites\MyFirstWebSite

I click the OK button and it creates the project...err, I mean web site, for me:

Figure 3 - IDE After Web Site Creation

So, I now have my web site open in the IDE. Currently, there is one file in it, Default.aspx, and the web site is NOT associated with a Team System Project or with any source control. Let's fix that.

I open the Team Explorer window, which is connected to my Team Foundation server. I click the New Team Project button. This opens the New Team Project window. I enter MyFirstWebSiteTeamProject as the Team Project Name, and the portal is set to http://vsts-tf/sites/MyFirstWebSiteTeamProject. I create an empty version control folder: $/MyFirstWebSiteTeamProject.

The project is created successfully. I told it to let me view both the Project Creation log file, and the Process Guidance Page. The Process Guidance page errored out in trying to be displayed, but I was able to view the Project Creation log file with no issues. This file is chocked full of information, and while it looks a little cryptic, I think with a little effort it will start to make sense. I'm going to tackle that in a later post.

So now I have my web site, and have it associated with both a Team System Project, and my project is displayed in the Team Explorer Window. Life is good.

The next several posts after this one are going to delve into adding this solution to the source control, what all is created automatically for you when you create a Team System project, and then I'll start delving into the security settings in Team System, for your Team System Projects.

15 Comments:

Blogger nope said...

Hi,

I'm sorry for being intrusive in to your blog. But I am Melissa and I am a mother of two that is just trying to get out of an incredible financial debt. See my hubby is away in Iraq trying to protect this great country that we live in, and I am at home with our two kids telling bill collectors please be patiant. When my husband returns from war we will beable to catch up on our payments. We have already had are 2001 Ford repossessed from the bank, and are now down to a 83 buick that is rusted from front to back and the heater don't work, and tire tax is due in November.

I'm not asking for your pitty because we got our ownselfs into this mess but we would love you and thank you in our prayers if you would just keep this link on your blog for others to view.

God Bless You.

Melissa K. W.
To see my family view this page. My Family


Learn How To Create Your Own Custom Income Generating System.

Welcome to AdWordEqualizer / Ad Word Equalizer Finds The Most Profitable Search Terms And Products For You!

Get Paid to Take Online Surveys!

6:22 AM  
Blogger paige said...

I love your information on Change Management I bookmarked your blog and will be back soon. If you want, check out my blog on Change Management Exposed - please come by

12:36 PM  
Blogger emily said...

I really enjoyed the content on your blog about Change Management will be back very frequently! I actually have my own Change Management Exposed blog with all kinds of stuff in it. You�re welcome to com by

1:15 PM  
Anonymous Anonymous said...

Great site about web development and design services Keep up the good work! website design bathurst

12:25 PM  
Blogger websoftware said...

 Hi: Just came across your blog. Interesting post and good looking site.

We recently set up a website offering totally free blog and website awards for sites with legal & legal related exceptional content.

No, we are NOT directly selling anything. If you would like to enhance your blog/web site, visit our web site award program web site. blog/website with one of our classy website award graphics! If you are interested, here is the link: http://www.web-site-award-winning.com
**web site award program**

10:59 AM  
Blogger Yalta resources said...

Free Blog Hosting Using Wordpress Blog Software At www.Blogsilla..com

1:14 PM  
Anonymous Anonymous said...

I really enjoyed reading your Blog about aftermarket car part. I also have a Blog/Website about aftermarket car part come check it out!! Have a great day!

1:43 AM  
Blogger tipsonrelationships said...

I enjoyed reading your blog. There is a lot of useful information about web hosting shopping cart in it. We offer Turnkey Websites and Reliable Hosting. We also provide a blogging service that will help your site get indexed fast and keep the search engines visiting your site. Click here for more information about web hosting shopping cart.
Thank you
TWP Admin

7:18 AM  
Blogger job opportunitya said...

Remarkable blog. I take the neccesary time to find
blogs that are just as good as the ones you do.
Check out the blog site with my Staffing Software in it!

4:39 PM  
Anonymous Anonymous said...

Hi,

I've put up a site related to free domain hosting its only been up a couple of days. and i'm still scouting around for information and articles that may be suitable for some of my free domain hosting pages. Your free domain hostingblog seems to be a good idea, I doubt if my free domain hosting site will become as popular... but I suppose that depends on me finding those free domain hosting articles.... A well, on with my journey - thanks for reading, hope to see you on my free domain hosting site.

Take care
Steward.

11:00 AM  
Anonymous Anonymous said...

Hello,

Just thought I would check out your blog.
I am new to blogging. I hope you don't mind me posting to your blog. If you are interested in checking out my blog and making a post that would be great.

I have a hosting web window site/blog. It pretty much covers ##WEB HOSTING## related stuff.


Thanks,
Ed

12:28 PM  
Anonymous web hosting shopping cart said...

Hey this blog is not about lowcost web hosting. Silly internet bringing me here :-) Funny I have been doing hours of research on lowcost web hosting and it brought me to your blog on Creating an ASP.NET 2.0 Project, sorry, I mean Web Site, in VSTS. The web plays funny games sometimes. Anyways, I was reading your blog Mickey G. and I think it is really cool. Keep up the great work.
If you do not mind I will snag your blog and put it in my favorites. I read a ton of stuff on here that interested me. Keep blogging away :-)

3:40 AM  
Anonymous asp net web hosting said...

Sad to say I just got back from a bowling tournament and decided to log in and do some websurfing. Mickey G. I love your blog. I had some very good laughs. I am doing a paper on net web hosting and have been downloading information for the last hour. I don’t know how I came across Creating an ASP.NET 2.0 Project, sorry, I mean Web Site, in VSTS but I am glad I did. It has set me back a little because I have spent the last hour reading your archives. If you don’t mind I would like to add you to my favorites so I can back again and read some more. Well I need to get back to net web hosting. I am almost finished with it. Great job.
p.s some very good points on your blog

8:24 AM  
Anonymous computing web hosting said...

Hey this blog is not about lowcost web hosting. Silly internet bringing me here :-) Funny I have been doing hours of research on lowcost web hosting and it brought me to your blog on Creating an ASP.NET 2.0 Project, sorry, I mean Web Site, in VSTS. The web plays funny games sometimes. Anyways, I was reading your blog Mickey G. and I think it is really cool. Keep up the great work.
If you do not mind I will snag your blog and put it in my favorites. I read a ton of stuff on here that interested me. Keep blogging away :-)

10:21 PM  
Anonymous web hosting company for small business said...

All I can say is WOW Mickey G.. The other half and I just got back from our friends house (well her friends house) and I needed a huge break. I am working on a project right now that is based on small business web hosting services. I have literally been on-line for 2-3 hours doing research. Even though Creating an ASP.NET 2.0 Project, sorry, I mean Web Site, in VSTS really isn’t on the same page as small business web hosting services I am certainly glad I came across your blog. There are a ton of great view points on this blog. Well I think I can here the kids screaming in the background. I put you in my internet favorites and I will certainly come back and visit. If you want to take a peek at my site you can find me here at small business web hosting services. I update my site very frequently. Again, great job blogging and I will be back again soon!

10:11 PM  

Post a Comment

<< Home