I need to be able to construct a link in the Action on the controller to send an email. What is best practice to do this? I don\'t want to construct it myself in case my ro
I know this is an old question, but just in case you are trying to do the same thing in ASP.NET Core, here is how you can create the UrlHelper inside an action:
var urlHelper = new UrlHelper(this.ControllerContext);
Or, you could just use the Controller.Url property if you inherit from Controller.