I am adding a WebForm from which I would like to resolve routes to URLs. For example, in MVC I would just use
return RedirectToAction("Action", "Controller");
So, if you have a way of getting to that same URL from a WebForm in the same application, it would be appreciated.
Revised version of the code above for PageCommon ... as it currently is it breaks.
Try something like this in your Webform:
For those looking for an actual HtmlHelper or a cleaner way to use the urlHelper in a page: