ActionName and NonAction Attribute in MVC is the attribute applied to an action method. These attribute helps route engine to execute correct Action method and the respective View. ActionName Attribute ActionName attribute actually provide a alias to the action method, i.e. You can give a different name to your Action method than what is given exactly. Let's demonstrate this by sample code -
This post first appeared on SharePointCafe.Net - A Technical Blog On SharePoint, ASP.Net, Cloud Computing, please read the originial post: here