asp.net.ph

Skip Navigation Links

@ Application

ASP.NET Syntax   Global.asax Syntax   Application Directives


Defines application-specific attributes used by the ASP.NET application compiler.

<%@ Application attribute = "value" [ attribute=value ... ] %>

Parameters

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.

Syntax Example

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" %>
See Also

ASP.NET Applications



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note