ASP.NET Syntax Global.asax Syntax Application Directives
Defines application-specific attributes used by the ASP.NET application compiler.
<%@ Application attribute = "value" [ attribute=value ... ] %>
- attribute
- Either INHERITS or DESCRIPTION. These can be declared together in the same @ Application directive tag.
- value
- For the INHERITS attribute, this is the name of the class to extend. For the DESCRIPTION attribute, this is a text description of the application. The latter is ignored by the parser and compiler.
The following code instructs the ASP.NET application compiler to dynamically compile a new application class that extends the My401kApp.Object class. The description is straightforward.
<%@ Application Inherits = "My401kApp.Object" Description = "Our 401k app" %>
ASP.NET Applications