Hi Everyone,
I want to know how to create a attribute based routing in MVC? Please give me a solution.
Thank you.
How to create a attribute based routing in MVC?
1401
04-Feb-2016
Updated on 04-Feb-2016
Anupam Mishra
04-Feb-2016[Route] attribute specify a route to be added to the Route Table which maps to this action. The parameters to [Route]'s constructor are where the real functionality happens.
The route attribute says that the "GotoStatement" can be invoked using the URL structure "Users/about".