An ASP+ application file is a declarative text file that contains markup syntax for coding a server-side application object. An ASP+ application file is named global.asax and resides in the root directory of an ASP+ application. At runtime, global.asax is parsed and compiled into a dynamically generated NGWS class derived from the HttpApplication base class. A global.asax file is composed from the following syntax elements:
Application Directives | Specify optional settings used by the ASP+ processor when handling ASP+ files. |
Code Declaration Blocks | Define member variables and methods to be compiled into the generated Page class. |
Server-side Object Tags | Declare and create new instances of objects using a declarative, tag-based syntax. |
Server-side Include Directives | Insert the raw contents of a specified file anywhere within an ASP+ application file. |
ASP+ Page Syntax