开发者

asp.net url rewriting?

I want to rewrite the url of one of my website

now currently the url looks like

www.sitenanme.com/details.aspx?videoid=XXXX&title=XXXXX

in which videoid and title comes from the codebehind file. now I have already used intellgencia url rewriter and I was able to write out the url where we hard code the url rewriting rule in web.config.

but in this case I want the url to 开发者_JAVA技巧become like

www.sitenanme.com/XXXXX(title)


It is better to use MVC framework as it will save lot of your effort. However, if you still insist, please refer to example specified at http://msdn.microsoft.com/en-us/library/ms972974.aspx

It does the same thing you are looking for.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜