MVC Routing Parameter Precedence
I came across a scenario where I had the default MVC Route setup. Like So. routes.MapRoute( name: "Default", url: "{controller}/{action}/{id}", defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional } ); Then navigating to a url as such domain/controller/action/1234 On this page I was then navigating to the same page but with different parameters after a certain event. Like so. var id = $(this).data("id"); var url = "@Url.Action("action", "controller", new { area = ""})"; var params = $.param({id: id, vrnsearch: true}); var fullUrl = url += "?" + params; window