This is what I'm trying to do. I have a route defined like below.
<route name="productresultscatchall" url="ProductResults/{*querystring}" controller="ProductResults" action="Display"/>
My urls get constructed by a non-MVC page that has no idea about my routes. It passes in everything as a BIG querystring.
e.g.
www.abc.com/ProductResults/productid=249&categoryid=38&producttype=xyz&sorttype=1&showdesc=false
The querystring param combination can change and there is no way I can change the incoming url to a SEO-friendly route.
My end goal is to get every possible querystring param that is passed and use it (if available). What I do not want to do is create an Action method that accepts all combinations of parameters. The Action method will use a helper CurrentRoute.GetValue(paramName) to retrieve values.
Does MVC pass in the querystring parameters that can be accessed via the controller?