I am using sitecore 7.2 and integrated visual studio solution into it. The solution is working fine, I am able to create layouts, items, rendering etc. In my layout file(.cshtml) I have mentioned the URL to the home page using the razor action link as
@Html.ActionLink("Home", "Index", "Home")
But when it renders in the browser, the actual link is “/api/sitecore/Home/Index” as hown below. So when I click on the link it is redirecting to this path, instead of /home/index. This issue is not specific to the layout file. Any where in the solution if I use
Html.ActionLink to create a hyperlink, it is rendering to api/sitecore/controller/action.
Any idea on why this is happening or is there a way to correct this?