Home
Username:
Password:
Introduction to Microsoft Visual Studio 2008 Tutorials

Getting Started With Visual Studio 2008 / Project Types

Subtitles of the Movie

Now let's take a look at some of the Project Types that are available to you in Visual Studio 2008, and what I'll do is click on Start, open Visual Studio 2008 and you'll notice it's going to come up to my Start Page here. Now, what I'm going to do is say File, New, Project, and that will open up the New Project Window. Now, let's just kind of go through this Window just a little bit and show you some of the cool things that you can do. First of all, notice these are broken up. Here's my Visual Basic Projects, and notice these can be expanded or compressed, and I can do Windows, Windows Forms Applications Projects and within that category of Windows, and I shouldn't have said Windows Forms there, but just as Windows Projects, I can do a Windows Forms Application, a WPF, Windows Presentation Forms Ð we'll talk about that later Ð a Console Application; this is going to be something that runs at a Command Prompt. I can build a Windows Service that runs in the background. I can do a WPF User Control Library, a Class Library, and you can see some of the other ones Ð you certainly don't need me to read all these things. OK, and I can search for some Online Templates at Microsoft. If I'm doing Web development, I click on Web and you can see I can build straight up, ASP.NET Web Application, an AJAX Server Control, a .NET Server Control, a Web Service Application, really cool stuff. So anyway, you can see as we go through there. For a Smart Device this is really cool. Open this and play with it. I can build an application for my Smart Phone, hand-held, whatever. Under Office, this is a lot of new stuff in 2008. I can manipulate a lot of Office functionalities. You can see a lot of things here. For a Database Project I can build a SQL Server Project, Reporting, various reporting functionalities for testing and workflow and so forth. So you see that all those are under Visual Basic. Now if you're coding in Visual C# you'll notice you get much the same choices it's just going to be in the C# environment. If you're doing Visual C++, other Project Types, and then for Test Projects. OK, so first of all I'm going to choose my Project Type. Now notice, you've seen in other videos in the Course some Windows projects, and so I'm going to open an ASP.NET Web Application Project here, but let's look at something down here at the bottom. This is going to be the name of my project, and by Default my Solution's going to have the same name. So let's say that I'm going to build a Web Application for this Class and I'll just call it the VTCClass Project, but notice it gave my Solution the same name, OK? Well, I'm just going to add the word Solution onto the end of the Solution name so whenever I'm looking at it out in my Directory or in a List or anything I can easily tell what it is. Notice, I can set the Location of where it's going to store this project, right here, OK, and I can give it a name. Alright, at the actual location or I can give it a Filename, OK, and so I could change this right here to VTCClass Project File. OK, and notice I can also hit Browse and I can create a separate Directory for this Solution. Now, up in the upper right Ð this is really cool, it's new in 2008 Ð I can decide to what Framework I'm targeting this development. And you'll notice that if I choose 3.5 I see AJAX, but if I choose 3.0 the AJAX goes away because it's not supported in the Framework 3.0. So I can choose which Framework I want to develop to in this Project. Now, so you've seen in other videos Ð actually let me just go ahead and open a Windows Application, and this is a Windows Form Application and it's called VTCClass, right, the Project Name, and you'll notice that if I look at my Common Controls you'll see what they look like here. Well, I'm going to close this Project and notice the name of the Solution is VTCClassSolution, our Project's VTCClass, I'm going to close this Project and it's going to ask me Ð well, it didn't ask me did I want to save it because I hadn't done anything. So, what I can do then is open a new project and this time I'm going to open a Web Application and I'll just take Defaults on the names here, and so I'll click OK. It's going to open a Web Application for me and you'll notice here's my Default Web Page, or Default aspx, and I will double-click on that and it will click and hum just a minute, and if you'll notice down here on the left, it's not very apparent, but it says, it told me right here along this line it was creating a Web Application, so here's my Page, but notice now, I've got some different things out here in my Toolbox because we have different tools for Web Applications. And notice we have AJAX Extensions down here in the Toolbox now, and we have an HTML section. So these things are going to change dynamically based on the application that you open, and we'll talk about some other differences a little bit later on, OK? So, that's the various Project Types that you have, and each of these is going to be a little different so you need to go out and kind of play with these Project Types and open them and see what's going on in them. Now one of the things that it has done, and if I double-click on the Page here it'll take me to the Code Behind, you'll notice that it's inheriting various things, it's setting up Classes, it's doing things for you that will save you some time and confusion, and it's a great way to get started, and so that's what these projects are going to do. And by the way, if you remember, in a separate video I actually dragged some text over here and put into the Toolbox and you'll notice I just kind of as a gee whiz thing, it's still here across my Projects, and I can use this. That's Project Types. Make sure you pay attention to those, and especially make sure you pay attention to the options you have when you create a Project.

Tutorial Information

Course: Introduction to Microsoft Visual Studio 2008
Author: Mark Long
SKU: 34008
ISBN: 1-935320-54-8
Release Date: 2009-06-26
Duration: 7 hrs / 72 lessons
Captions: Available on CD and Online University
Compatibility: Vista/XP/2000, OS X, Linux
QuickTime 7, Flash 8

VTC Sign up & Benefits

  • Unlimited Access
  • 81,350 Video Tutorials (20,800 free)
  • Video Available as Flash or QuickTime
  • Over 782 Courses
  • $30 for One Month Access
  • Multi-User Discounts Available