MVC Developer Question:

Explain me what is the significance of NonActionAttribute?

Tweet Share WhatsApp

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.

Download MVC Developer PDF Read All 50 MVC Developer Questions
Previous QuestionNext Question
Explain me the meaning of Unobtrusive JavaScript?Explain me what is Validation Summary in MVC?