What are attributes
Answer / kirti
There are at least two types of .NET attribute. The first type I will refer to as a metadata attribute - it allows some data to be attached to a class or method. This data becomes part of the metadata for the class, and (like other class metadata) can be accessed via reflection.
The other type of attribute is a context attribute. Context attributes use a similar syntax to metadata attributes but they are fundamentally different. Context attributes provide an interception mechanism whereby instance activation and method calls can be
pre- and/or post-processed.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is viewbag?
Which is the default http method for an action method?
What is ado.net data provider? : Entity framework
Explain entity lifecycle? : Entity framework
Where does web.config info stored? Will this be stored in the registry ?
1 Answers Accenture, BirlaSoft,
Is .net framework backwards compatible?
What is the difference between windows vista and .net framework 3.0 ?
What are Code Blocks in Views?
Do I need microsoft .net framework?
Explain how to use multiple submit buttons in ASP.Net MVC?
Can we have more than 1 partial classes in the same file?
If background completes its processing will it wait for foreground threads?