How can I add a routing rule that takes this URL
http://localhost:57334/Blog/index.aspx?Id=23
and converts to this:
Routing rules typically interprets the urls you give and maps them to resources meant to handle those requests. Your url suggests you are using webforms and not asp.net mvc.
What i think you need is URL rewriting... you could check out
Hope this helps
It depends if you are using IIS 6 or 7
If you are using IIS6 you will need to install an add-in and you will need to install something like:
www.isapirewrite.com or www.urlrewriter.net
If you are using IIS7 take a look at http://learn.iis.net/page.aspx/460/using-the-url-rewrite-module/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.