Commands supported by ASP. NET Protocol framework

Source: Internet
Author: User

ASP. NETThe explain framework supports the following commands.

@ Page

Define the specific modularity used by the ASP. NET compiler analyzer and compiler. It can only be contained in the. aspx file.

@ Control

Define the specific protocol used by the ASP. NET compiler analyzer and the compiler. It can only be contained in. ascx tables (which can be controlled by memory.

@ Import

Enter the named blank space in the memory or use the memory to control the memory.

@ Implements

Indicates whether to implement the specified. NET Framework interface in a declarative manner or using the declarative control method.

@ Register

Start other names and naming spaces and class names, this allows you to use the volume control feature and custom Server Control Feature to present when the requested volume is included or when the volume control feature is used.

@ Assembly

During the programming process, the program set is connected to the previous environment so that all classes and interfaces of the program set can be used on the platform.

@ Master

Mark the ASP. NET master token.

@
Previouspagetype

The method used to compute the sequence type of the last pair can be used to query the previous pair through the previouspage sequence.

@
Mastertype

For
Master
Allocation class name, so that the class can be used to reference the class of the master.

@
Outputcache

Use the explicit method to control the token or use the token to control the token output Memory Policy of the token.

@ Reference

Use a clear method to control the sequence or the sequence before the sequence ends, or use the sequence to control the sequence.

Note:
@ Page
Commands can only be used in. aspx scripts, while@ ControlCommands can only be used in. ascx commands.
ASP. NET
Any command that does not contain the generic command name alias (<% @ %>)@ PageCommand (for example) or@ ControlCommands (for controlling the role with the role) are used for processing.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.