Home > DeveloperSection > Interviews > What is the significance of NonActionAttribute?

Posted on    May-19-2012 3:09 AM

 ASP.NET MVC ASP.NET MVC 
Ratings:
 1 Answer(s)
  4844  View(s)
Rate this:

Tanuj Kumar

Total Post:30

Points:150
Posted on    May-19-2012 12:00 AM

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

Don't want to miss updates? Please click the below button!

Follow MindStick