Explain about NonActionAttribute ?

 Posted by Bharathi Cherukuri on 8/27/2012 | Category: ASP.NET MVC Interview questions | Views: 17889 | Points: 40
Answer:

It is already known that all the public methods of a controller class are basically treated as action methods.
If you dont want this default behaviour, then you can change the public method with NonActionAttribute. Then, the default behaviour changes.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response