asp.net mvc - How do I manually lookup a route in the RouteTable MVC.Net? -
this question has answer here:
- how routedata url? 2 answers
i have string inside action of 1 of controllers represents referring url. current request's route data not i'm looking (because being called script tag inside view).
i want find action , controller referring url.
is there way can manually use string "/product/23" find controller , action string url produce?
i blogged doing exact thing couple weeks ago:
Comments
Post a Comment