开发者

.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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜