SyntaxFix
Write A Post
Hire A Developer
Questions
Another way to create an absolute URL to an action:
var relativeUrl = Url.Action("MyAction"); //..or one of the other .Action() overloads var currentUrl = Request.Url; var absoluteUrl = new System.Uri(currentUrl, relativeUrl);