Hi!
This should be simple. I want to get an absolute Uri given the controller, action and other routevalues. In other words I want to do what Html.ActionLink does but without the anchor and I want to do it in my controller.
Hi!
This should be simple. I want to get an absolute Uri given the controller, action and other routevalues. In other words I want to do what Html.ActionLink does but without the anchor and I want to do it in my controller.
You can generate link URLs with UrlHelper.Action(). Your controllers already have this as property Url.
Url.Action("Logout", "AccountController")