Help with UrlMapping

  • Thread starter Thread starter Dave
  • Start date Start date
Hello,
I would like to have the address
http://localhost/dl/123456/anyName.mid

redirected to
http://localhost/dl/download.ashx?id=123456&type=mid

how can I do this by using UrlMapping?

thanks in advance.

there is nothing built into asp.net 2.0 that makes this easy. Check
out Scott Guthries comments here:

http://weblogs.asp.net/scottgu/archive/2005/11/14/430493.aspx

However, back in the 1.1 days, Scott Mitchell wrote a nice article on
how to handle it with HttpModulles.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/urlrewriting.asp

Peter Kellner
http://peterkellner.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top