Can I use the Asp.Net routing for this?
Requested URL = http://example.com/12345
Actual action = http://example.com/search.aspx?id=12345
I've not been able to work out how set this up in my Global.asax
Can I use the Asp.Net routing for this?
Requested URL = http://example.com/12345
Actual action = http://example.com/search.aspx?id=12345
I've not been able to work out how set this up in my Global.asax
Copyright © 2021 Jogjafile Inc.
I found a solution. I created my own System.Web.IHttpModule handler and checked the url in Rewrite_BeginRequest and redirected to my search page with the "folder" as a parameter. I then had to add my UrlRewriteModule using the following in the web.config.