Home
Username:
Password:
Microsoft ASP.NET 3.5 Tutorials

ASP.NET Basics / Your Web Server

Subtitles of the Movie

Now before we go any further with the Visual Web Developer in the previous video I talked about customizing it, now I want to talk about something that you've probably noticed and that's a question that pops up when you're dealing with Visual Studio nowadays and Visual Web Developer and that is, where's the Web server here? Because I built this page and when I click on Run up here and I tell it to run without debugging it looks to me like that this went to a Web Server somewhere and it brought my page back. Well, it did, but notice - and this is what I wanted to show you here - that when I run a test it's going to HTTP. Notice, Local Host and there's a Port number here; in this example it's 49317 and then there appears to be a virtual directory out there called VTCExample, which is the name of my Web site, or the name of my Project file Location. What's actually happened here is Microsoft saved you a bunch of trouble here. Instead of having to install an IIS Web server, Internet Information System Web server, or some other Web server on your development machine and get it all configured right and create all the virtual directories and stuff, they've done this for you in the background. When we first created this Web site - let's go back out to the start page - and notice if I click to Create a New Web Site, one of the questions that it asks me and I just kind of skipped over it because I didn't want to deal with it at the time, notice this says Location and we're going to put this in a File System. Well, if I click this drop-down here I can tell it HTTP and I'm going to have to give it now the address of a Web server, so if I have an IIS Web server I can put him out there and then, of course, FTP, but the file system is going out there and notice in the C, Users Folder, Mark, Documents, Visual Studio 2008, websites, Website3, it's storing them out there, but they are basically more or less creating a virtual, if you will, IIS Web server out there as part of Visual Studio to allow me to preview these things and to test them. When it's all said and done, and I get through this Web page and we'll go into this in a little more detail a little bit later on in the course, all I have to do is click right here on Copy website and notice it sees my Source website and all the pages and so forth and I can, on the remote website, if I click Connect right here I can now go to a local IIS and you'll notice it instantly says, hey wait a minute, dude, you don't have IIS on this computer, so you're going to have to install all of this stuff. I can hit a Remote Site and again, now I can type the remote website Location, the URL from my IIS Web server, whoever it is, but then I can copy, once I put something in here then I can choose these just like any other FTP type tool and I can just copy those files up to that server and notice this is running inside my Visual Web Developer. We'll play that possibly a little bit later on, but that's how you're going to use the Web server and again, you don't see it. It's a really cool function. It's built in - it's just out there. All your files are being stored for you. You'll be able to get them later, but you do not need Internet Information Server to develop your web pages anymore using Visual Studio. This has actually been there a version or two, but I just wanted to clear that up and help you understand because, especially if you're new to this and you're trying to get your head around the fact that these things are on a Web server and all. It's like, well, wait a minute, there's no Web server here. There is, it's just kind of being hidden from you and it's out there as a convenience for you.

Tutorial Information

Course: Microsoft ASP.NET 3.5
Author: Mark Long
SKU: 34102
ISBN: 1-93633412-7
Release Date: 2010-03-24
Duration: 6 hrs / 69 lessons
Work Files: Yes
Captions: Available on CD and Online University
Compatibility: Vista/XP/2000, OS X, Linux
QuickTime 7, Flash 8

VTC Sign up & Benefits

  • Unlimited Access
  • 98,729 Video Tutorials (23,265 free)
  • Video Available as Flash or QuickTime
  • Over 1026 Courses
  • $30 for One Month Access
  • Multi-User Discounts Available