-
Notifications
You must be signed in to change notification settings - Fork 24
Html.ActionLink
Mariusz Kerl edited this page Dec 8, 2017
·
2 revisions
Rendering anchor tag is easy and does not require any extra work.
@Html.ActionLink("Home index", "Home index", "Home", "Index", new { tenant = "mycompany" }, null)Will render
<a href="/">Home index</a>if your host is http://mycompany.localhost:54575
or
<a href="http://mycompany.localhost:54547">Home index</a>when current host is different.