@{
Layout = null;
}
ActionName
The controller is: @ViewBag.Controller
The action is: @ViewBag.Action
@*
@Html.ActionLink("This is an outgoing URL", "CustomVariable", new { id = "Hello" })
*@
@*
@Html.ActionLink("This targets another controller", "Index", "Customer")
*@
@* @Html.ActionLink("This is an outgoing URL", "Index", "Home", null, new { id = "myAnchorID", @class = "myCSSClass" })*@
@*@Html.ActionLink("This is an outgoing URL", "Index", "Home", "https", "myserver.mydomain.com", "myFragmentName",
new { id = "MyId" },
new { id = "myAnchorID", @class = "myCSSClass" })*@
This is a URL:
@*@Url.Action("Index", "Home", new { id = "MyId" })*@
@Html.ActionLink("Click me", "GetLegacyURL", new { legacyURL = "~/articls/Windows_3.1_Overview.html" })