Interviews Questions and Answers



What is the significance of NonActionAttribute?

Posted by: Sam
On 25 Mar 2012 | Views: 1104 | Categories: MVC
Interview Answers(1)

 On 25 Mar 2012 10:04:39 AM
In general, all public methods of a controller class are treated as action methods. If you want prevent this default behaviour, just decorate the public method with NonActionAttribute.

Post your Answers


Other lins

.Net Techies
Other lins