top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the significance of NonActionAttribute?

+4 votes
456 views
What is the significance of NonActionAttribute?
posted May 19, 2015 by Vrije Mani Upadhyay

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

In general, all public methods of a controller class are treated as action methods. If you want prevent this default behavior, just decorate the public method with NonActionAttribute.

answer May 20, 2015 by Shivaranjini
...