Skip to Main Content
Programming ASP.NET 3.5, 4th Edition
book

Programming ASP.NET 3.5, 4th Edition

by Dan Maharry, Dan Hurwitz, Jesse Liberty
October 2008
Intermediate to advanced content levelIntermediate to advanced
1166 pages
28h 31m
English
O'Reilly Media, Inc.
Content preview from Programming ASP.NET 3.5, 4th Edition

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.exe in the dialog, and click OK.

Warning

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. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming Microsoft® ASP.NET 3.5

Programming Microsoft® ASP.NET 3.5

Dino Esposito
Learning ASP.NET 3.5, 2nd Edition

Learning ASP.NET 3.5, 2nd Edition

Brian MacDonald, Dan Hurwitz, Jesse Liberty
Pro ASP.Net 4 in C# 2010

Pro ASP.Net 4 in C# 2010

Matthew MacDonald, Adam Freeman, Mario Szpuszta
Programming .NET 3.5

Programming .NET 3.5

Jesse Liberty, Alex Horovitz

Publisher Resources

ISBN: 9780596156657Supplemental ContentErrata Page