318Microsoft Visual Studio 2010: A Beginner’s Guide

Figure 11-5 The Administrative Tools window

3.Right-click Sites and select Add Web Site, or click the Add Web Site link on the Actions panel to show the Add Web Site window, shown in Figure 11-7.

4.Give the Web site a name and specify the physical location. As shown in Figure 11-7, the name of the site is WcfDemo and the site will be physically located at c:\WebSites\ WcfDemo. Notice that the Port in the Binding section is set to 8080. The default for a Web site port is 80, but you can have only a single site with that port. Alternatively, you could change the host name and keep port 80. In this case, we decided to set the port to 8080 so that the addresses of the Web sites don’t overlap. Use a different port number if 8080 is already used on your system. Clicking OK will create the Web site.

Page 341
Image 341
Microsoft 9GD00001 manual Administrative Tools window