O'Reilly logo

Programming Visual Basic 2008 by Tim Patrick

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Trying Out ASP.NET

Let's build a very simple ASP.NET application, and examine it and its parts to discover what it's all about.

Tip

If you are using Visual Basic 2008 Express Edition, you will not be able to fully follow these instructions directly since that product does not include any ASP.NET or web development features. Instead, you need to download Visual Web Developer 2008 Express Edition from the Microsoft MSDN web site (http://msdn.microsoft.com/express). Its user interface, though streamlined, offers much of the same functionality as the full Visual Studio product. The tutorial included here was written using Visual Studio 2008 Professional Edition.

Start Visual Studio and select the File → New Web Site menu command. The New Web Site form appears (see Figure 23-1). Unlike desktop applications, you must immediately tell Visual Studio where you are going to store the files. We'll choose a location on the local filesystem, but this form also lets you work on a remote web site via FTP or HTTP. Choose the ASP.NET Web Site template, enter a directory path where you want to store the files, and click the OK button.

Creating a new ASP.NET application

Figure 23-1. Creating a new ASP.NET application

Figure 23-2 shows Visual Studio ready to start your new web application (the toolbars displayed are per my preferences).

A blank form is sometimes a good sign

Figure 23-2. A ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required