Asp.net Url rewriting for variable number of querystring arguments -
i need route url this
routes.mappageroute("id", "destinations/{param1}_{param2}_{param3}", "~/realpage.aspx");
the problem number of query string parameters may vary:
http://url/destinations/us_us_us http://url/destinations/__us http://url/destinations/us__ http://url/destinations/___
based on comment can may not best way, need parse result manually try use regex operation.
Comments
Post a Comment