Datasheet

You get a full description of all the windows, toolbars, panels, and menus in the next section, so
for now, just focus on creating a new web site. Click the File menu in the upper-left corner and
choose New Web Site. If you’re using a commercial version of Visual Studio, you may have to
open the submenu New first. (Make sure you don’t accidentally use the New Project menu, as
that is used to create different types of .NET applications.) The New Web Site dialog box appears
as shown in Figure 1-3.
Figure 1-3
4. In the Templates section of the dialog box, verify that ASP.NET Web Site is selected. Also verify that
File System is the selected option in the Location drop-down list. If you want, you could change
the location on disk where the web site is stored by clicking the Browse button and choosing a
new location on your computer’s hard drive. For now, the default location — a folder under your
Documents folder — is fine, so you can leave the location as is.
5. In the Language drop-down list, you can choose a programming language you will use mainly
in your site. This book shows all examples in both Visual Basic and C# so you can choose a lan-
guage to your liking.
6. Click OK. VWD creates a new web site for you that includes one standard ASP.NET page called
Default.aspx, a web.config file, and an empty App_Data folder, as shown in Figure 1-4. It also
opens the file Default.aspx so you can see the code for the page.
Figure 1-4
6
Chapter 1: Getting Started with ASP.NET 3.5
87593c01.qxd:WroxPro 1/25/08 9:05 AM Page 6