need help canonicalizing an HTTP GET form in asp.net mvc
问题 I have a form in an asp.net mvc site that serves 3 purposes: paging, sorting, and searching. These items should all be rendered in the same form, since returning the correct search results depends on variables from all 3 aspects. What I'm trying to do is move the parameters out of the querystring and put them in a canonical URL. I'm almost there, here are my 3 route configurations so far (using T4MVC for area, controller, and action names): context.MapRoute(null, "my-area/my-widgets/search/