ASP.NET Syntax Global.asax Syntax
Application directives specify optional settings used by the ASP.NET page and application compilers when processing ASP.NET files. Application directives are located at the top of the global.asax file.
<%@ directive attribute=value [ attribute=value ... ] %
>
Each directive may contain one or more attribute/value pairs specific to that directive. The following directives are supported:
@ Application |
Defines application-specific attributes used by the ASP.NET application compiler. |
@ Import |
Explicitly imports a namespace into an application. |
@ Assembly |
Links an assembly to the application at parse-time. |
ASP.NET Applications