Why does Html.ActionLink render "?Length=4".For example,if i click any link of my navigation bar menu,it renders as "?length=4" in browser.
Before i have coded like the below:
@Html.ActionLink("ASP.NET MVC", "Index", "aspnetmvc", new { @class = "nav-link" })
After:
@Html.ActionLink("ASP.NET MVC", "Index", "aspnetmvc", null, new { @class = "nav-link" })
Now the above code really works and now i am able to click those HTML ACTIONLINKS.