Answer Posted / 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 |
Post New Answer View All Answers
what is explicit loading?
When using razor views, do you have to take any special steps to protect your asp.net mvc application from cross site scripting (xss) attacks?
What is ViewData and TempData in ASP.Net MVC?
What symbol would you use to denote, the start of a code block in razor views?
Define the core components of an ASP.NET MVC application?
What is the difference between .net core and .net framework?
Explain RenderBody and RenderPage in ASP.Net MVC?
In .net compact framework, can we free memory explicitly without waiting for garbage collector to free the memory?
What are the 3 segments of the default route, that is present in an ASP.NET MVC application?
How we can handle the exception at controller level in ASP.Net MVC?
What is rxjava used for?
Where are the routing rules defined in an asp.net mvc application?
Is dapper faster than entity framework?
What is the difference between viewbag and viewdata in mvc?
What is the benefit of entity framework?