July 23, 2002 - Creating IIS Web Server Virtual Directories
![]() |
July 23, 2002 Creating IIS Web Server Virtual Directories Tips: July 2002
Yehuda Shiran, Ph.D.
|
add Web service from Column 112. We put all files in d:\aspDemo, including the Web service definition, simpleCalc.asmx. Now you need to open the IIS control window. In Windows XP, click start -> Control Panel -> Performance and Maintenance -> Administrative Tools -> Internet Information Services. Expand the menu by clicking the + button, until you get the Default Web Sites entry:

Default Web Sites. Right-click the Default Web Sites entry, and pick New Virtual Directory. A wizard will guide you through two entries and a set of options. The first entry is the alias of this Web site. We chose Column113. Then it will ask you for the path of the directory where the content is. Browse to your directory and press Next. We chose d:\aspDemo. Leave the last page as is and click Finish. You will now see all your files from d:\aspDemo reflected in the right window of the IIS control panel. You can check now that indeed you can see the add Web service via http://localhost/Column113/simpleCalc.asmx (assuming you put simpleCalc.asmx in d:\aspDemo).To learn more about JScript .NET and ASP.NET, go to Column 113, JScript .NET, Part VII: Consuming add from ASP.NET.



