
Application Structure and Boundaries | 23
ASP.NET
Applications
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
• One or more class files, either for ASP.NET code-behinds or for assemblies
used in your application.
•A/bin directory containing .NET assemblies you wish to use in your applica-
tion. Assemblies in the /bin directory are automatically made available to your
application.
• ASP.NET Web Applications created in Visual Studio .NET contain Solution
and Project-related files (.sln, .suo, .vbproj, and .csproj, for example), and an
optional default cascading style sheets file (.css). These applications may also
optionally contain resource files (.resx), dataset and/or XML schema defini-
tions (.xsd), and other file types.
• Any other type of file (.htm, .asp, images, etc.) that you’d expect a classic web
application to contain. Note, however, that .asp pages within an ASP.NET
application will not share an Application and Session state with the ASP.NET
application.
Figure 2-3 provides a visual explanation of how an ASP.NET application is
structured.
Application Boundaries
In ASP.NET, as in classic ASP, the boundary of an application is determined
primarily by the site or virtual directory defined for that application in IIS.
Requests for ASP.NET pages or web services that reside within that site or virtual
directory and its subdirectories ...