When calling Url.Action(string, string) to generate a url within an MVC view or controller, instead of returning a regular url, it returns a WebApi url.
When using Url.Action("Index", "Home") within a view or the controller, I should produce it to produce "mySite.com/Home/Index", but instead it is producing "mySite.com/api?action=Index&controller=Home", which is clearly incorrect.
The same is happening with the Html.ActionLink helper.
If I use @Html.ActionLink("Home", "Index", "Home") it should be generating
but is instead producing