On my page: Admin/Manage.aspx there are links like this:
NavigateUrl='<%# "~/ShowArticle.aspx?id=" + Eval("ID") +"&name=" + Eval("Title") %>'/>
So the generated link is: "http://localhost:1410/TheBallProject/ShowArticle.aspx?id=17&name=This is a Test"
I want it to appear like this:
"http://localhost:1410/TheBallProject/17/This is a Test"
This is the relevant webconfig section:
<urlrewritingnet
rewriteOnlyVirtualUrls="true"
contextItemsPrefix="QueryString"
defaultPage = "Admin/Manage.aspx"
defaultProvider="RegEx"
xmlns="http://www.urlrewriting.net/schemas/config/2006/07" >
<rewrites>
<add name="Details" virtualUrl="^~/Articles/(.*)/(.*).aspx"
rewriteUrlParameter="ExcludeFromClientQueryString"
destinationUrl="~/ShowArticle.aspx?id=$1&name=$2"
rewrite="Domain"
ignoreCase="true" />
</rewrites>
</urlrewritingnet>
I don't get any effect.