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

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -