Databases Reference
In-Depth Information
Figure 15-3 shows the New Web Site dialog box with the web site Location option set
to HTTP.
Figure 15-3. Specifying an HTTP web site
Layout of an ASP.NET Web Site
Let's open a new web site and explore its layout. Open the Visual Studio 2008 IDE, and
select File ä New ä Web Site. In the New Web Site dialog box, select ASP.NET Web Site as
the project template, and then choose HTTP as the location and Visual C# as the lan-
guage. In the text box adjacent to the Location drop-down list box, modify the path from
http:// to http://localhost/Chapter15 , which indicates that you are going to create a web
site under IIS with the name Chapter15. Click OK.
Now navigate to Solution Explorer so you can see what components make up a Web
Site project. After you create the project, it will open as shown in Figure 15-4.
So that you understand the function of the components for a Web Site project, we'll
discuss each component shown under Solution Explorer in the Chapter15 Web Site proj-
ect next.
Search WWH ::




Custom Search