How many Directives r in ASP.NET?

Answer Posted / praveen

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

@ Control
Defines control-specific attributes used by the ASP.NET
page parser and compiler and can be included only in .ascx
files (user controls).

@ Implements
Indicates that a page or user control implements a
specified .NET Framework interface 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.

@ PreviousPageType
Creates a strongly typed reference to the source page from
the target of a cross-page posting.

@ Reference
Links a page, user control, or COM control to the current
page or user control declaratively.

@ 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.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the full meaning of asp.net?

745


Can you explain the basic use of dataview?

859


What is & in a url?

755


Explain the advantages of caching?

786


Do I need to have the latest version of windows media player installed?

744


Explain asp.net page life cycle?

876


What is difference between singleton and single call?

859


In the Repeater control which way you can edit?

878


What is session mode in asp.net?

772


Is it possible to apply themes to an asp.net application? If yes, then how?

822


How to Separate background image and front image from original picture....

772


What does aspcompat="true" mean?

794


Describe the differences between the lifecycles of Windows services and Standard EXE?

870


How response object is related to asp's response object?

731


What are validator? Name the validation controls in asp.net? How do you disable them?

800