Chapter 3. Creating Your First ASP.NET 2.0 Application

In This Chapter

Planning a Visual Studio project

Building a Web site from scratch

Using Solution Explorer, controls, properties, and titles

Coding and running your application

In this chapter, you get a crack at creating a simple, one-page Web application using Visual Studio 2005 Standard Edition. We walk you through the entire process step-by-step, so you’ll get a good idea for how Visual Studio works and how ASP.NET applications are built.

Note that although this chapter uses a particular version of Visual Studio 2005 — the Standard Edition — to build a Web site, the procedure is nearly identical for other editions of Visual Studio. That includes Visual Web Developer 2005 Express Edition; you shouldn’t have any trouble adapting the information in this chapter to other versions of Visual Studio.

Creating Your First ASP.NET 2.0 Application

All code listings used in this book are available for download at

Understanding Visual Studio Projects

Visual Studio organizes the files of an ASP.NET application by using logical containers called projects and solutions. Here’s a summary of the most important details you need to know concerning projects and solutions:

  • A project is a container that holds all files related to a single ASP.NET application — including the .aspx files that define the application’s Web pages, the code-behind files that provide the ...

Get ASP.NET 2.0 All-In-One Desk Reference For Dummies® now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.