What I need is to generate the full url for one of my controllers inside a view (so that a user can copy it). For the following:
[GET("invitationrequest/create")]
public ActionResult Execute()
{
I need to generate something like: http://xyz.com/invitationrequest/create
I've seen this answer: Getting full URL of action in ASP.NET MVC - it does the job, but only if the view and the controller have the same path. The problem is in my case, the view sits in a different location - let's call it http://xyz.com/mynetwork/generatelink