ASP.NET URL Re-writing; Is this possible?

Posted by James Evans on Stack Overflow See other posts from Stack Overflow or by James Evans
Published on 2010-05-26T12:46:50Z Indexed on 2010/05/26 13:31 UTC
Read the original article Hit count: 203

Filed under:
|
|

My app is currently written to accept vendor and product information like this.

http://www.mydomain.com/foo.aspx?v=1&p=100

could this be re-written like this?

http://www.mydomain.com/1/100/foo

Since the values in the original query string are database IDs, how would I express newly created IDs as segments of the "path" in the re-written version of the URL? My goal would be to create more of an automated solution that would accomplish this.

EDIT:

The app is written using ASP.NET webforms, .NET 4.0 and IIS 7

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about automation