Introducing IIS 7.0
This chapter assumes that you are using IIS 7.0, the version that is included with the Windows Vista operating system. This version of IIS was rewritten from the ground up for many and varied reasons and looks quite a bit different from IIS v5.x and v6.0, as you will see. Suffice it to say for now that IIS 7.0 continues to support websites written in classic ASP, ASP.NET v1 through v3.5, and beyond.
You can determine which version of IIS is serving a page by enabling tracing on that page (see Chapter 19 for more on tracing) and looking for the value of
SERVER_SOFTWARE under Server Variables. Alternatively, add a
Label control to the form and set its
Text property as follows:
lblVersion.Text = Request.ServerVariables["SERVER_SOFTWARE"];
If the page is being served from VS2008 rather than IIS, the value of
SERVER_SOFTWARE will be blank.
You can access IIS 7.0 on your machine in a number of different ways:
From Windows Explorer, right-click My Computer and select Manage. You can find IIS under Services and Applications.
Click Start → Settings → Control Panel → Administrative Tools → Internet Information Services (IIS) Manager.
Click Start → Run, enter
%SystemRoot%\system32\inetsrv\InetMgr.exein the dialog, and click OK.
You must be an administrator to run IIS 7.0 at any time.
IIS 7.0 will appear as shown in Figure 18-1.
It has three distinct windows, from left to right:
The Connections window allows you to select the websites you will configure in the other two windows. ...