How many Directives r in ASP.NET?

Answer Posted / rahultripathi

@assembly : - Link assembly to current Page or user control
directory .
@control :- Define control Spacific attributes to used
by ASP.Net page parser and compiler included only in .ascx
page.
@ Impliment : - Indicates that a page or user control
implements a specified .NET Framework interface
declaratively
@ import :- import a namespace in Page or user control
explicit.

@ 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

@ Master Type:- Defining class or vartual Path used to type
master page property of page.

@OutPut Cache.
@Page.
@Privious Page Type.
@Reference .
@Register

Rahul Tripathi
rahltripathi@myway.com

Is This Answer Correct ?    23 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If Instancing = Single use for ActiveX Exe, how will this be executed if there are 2 consecutive client requests ?

2247


Is it possible to write code in many languages in one asp.net project?

789


Is asp.net and .net the same?

736


Explain how is a property designated as read-only?

787


How to prevent client side validation from the ASP.NET validation controls?

823


Explain culture and uiculture values.

783


What is the use of session?

729


What is true about application service provider?

695


What are the ways of preserving data on a Web Form in ASP.NET?

845


What is the equivalent of date() and time() in asp.net?

753


Write a code for passing ArrayList in Web API?

1284


How can I create master page in asp net?

724


What is cookies in asp net?

743


How do I publish my asp.net application to my isp's web server?

830


How does session authentication work?

721