.net 4 routing rule help
I have bel开发者_如何学编程ow rule
routes.MapPageRoute("file",
"f/{Id}",
"~/file.aspx"
);
it works just fine if I request site.com/f/11 but when I request site.com/f/11&foo=foo it fails. is there anyway changing this rule so it would ignore & - = - ?
Try using a URL like this: site.com/f/11?foo=foo&anotherparam=anothervalue
精彩评论