MVC Developer Question:
Explain me what is the significance of NonActionAttribute?
Answer:
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.
Previous Question | Next Question |
Explain me the meaning of Unobtrusive JavaScript? | Explain me what is Validation Summary in MVC? |