WHAT IS THE SIGNIFICANCE OF NONACTIONATTRIBUTE?

Tanuj Kumar

Total Post:30

Points:150
Posted by  Tanuj Kumar
 5253  View(s)
Ratings:
Rate this:
  1. Tanuj Kumar

    Post:30

    Points:150
    What is the significance of NonActionAttribute?

    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.

      Modified On May-08-2016 11:59:23 PM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!