I’m trying to navigate from Home page view to Account page view i.e
from Index page which is in Home view to Register page which is in Account view.
I tried like :
To know more register yourself <%: Html.ActionLink("Register", "Account/Register")%>.
But the navigation link is given like
http://localhost:5186/Home/Account/Register
How do I make it http://localhost:5186/Account/Register ?
First parameter is the link text that’ll show, second parameter is the action on the controller, and the third is the name of the controller itself.