ASP. NET commandsIt is available on every page to control page Behavior.
ASPnetPage or user controlA total of 11 commands.
@ Page command
Specify attributes and values used for page parsing and compilation.
@ Master command
Used for master pages
@ Control command
Used to build user controls
@ Import command
UsedThe namespace of the import page or control.
@ Implements command
AllowPage failure-specific interface, Only supportsInterface Properties.
@ Register command
Associate [alias] with "namespace" and "Class Name"Customizes the token in the server control syntax.
@ Assembly command
InCompile timeSetProgramAssociate a set with a page or user controlToAll classes and interfaces of this assembly can be used for pages..
@ Previouspagetype command
Used to specify the page on which the cross-page transfer process starts.
@ Mastertype command
Associate a class name with a page to obtain strongly typed references or members contained in a specific master page.
@ Outputcache command
Control the output Cache Policy.
@ Reference command
Indicates that another page or control should be compiled with the current active page or control.