Explain about NonActionAttribute ?

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

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