.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Articles >> ASP.NET >> Post New Resource Bookmark and Share   

 Subscribe to Articles

ASP.NET Page Directives

Posted By:Dhivakaran       Posted Date: October 22, 2010    Points: 25    Category: ASP.NET    URL: http://www.dotnetspark.com  

Page directives configure the runtime environment that will execute the page. The complete list of directives is as follows
 

@ Assembly - Links an assembly to the current page or user control declaratively. 

@ Import - Imports a namespace into a page or user control explicitly.

@ Master - Identifies a page as a master page and defines attributes used by the ASP.NET page parser and compiler and can be included only in .master files.

@ MasterType - Defines the class or virtual path used to type the Master property of a page.

 @ OutputCache - Controls the output caching policies of a page or user control declaratively.

 @ Page - Defines page-specific attributes used by the ASP.NET page parser and compiler and can be included only in .aspx files.

 @ Register - Associates aliases with namespaces and classes, which allow user controls and custom server controls to be rendered when included in a requested page or user control.

 Subscribe to Articles

     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend