ASP. NET 3.5 page commands

Source: Internet
Author: User

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.

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.