Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

ActionName and NonAction Attribute in ASP.Net MVC

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

Share the post

ActionName and NonAction Attribute in ASP.Net MVC

×

Subscribe to Sharepointcafe.net - A Technical Blog On Sharepoint, Asp.net, Cloud Computing

Get updates delivered right to your inbox!

Thank you for your subscription

×