ASP.NET application files

An ASP.NET Web forms application uses a virtual directory in IIS to hold the files that make up the application and control access to those files. This directory is called the application root. You must have access to a computer running IIS to build and test ASP.NET applications. Each ASP.NET Web form application includes:

When you create a new Web application project using Visual Studio .NET, these files are created for you in a physical directory under the <Driveletter>:\Inetpub\wwwroot directory.

When you build a project, the code files are compiled into a single project .dll file. The .aspx file is generated into a .NET class file that inherits from the code class and is compiled into a second .dll file when the page is first used.

To access a Web forms page, a user opens the .aspx page on the server where it is running. For example, if your application is called MyWebApp, the default page is called MyWebForm.aspx, and the server is called dover, use this URL:

http://dover/MyWebApp/MyWebForm.aspx