Re-write ASP.NET URLs Is it possible?

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

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

can this be rewritten as follows?

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

Since the values ​​in the original query string are the identifiers of the database, how can I express the newly created identifiers as segments of the "path" in the rewritten version of the URL? My goal would be to create a more automated solution that would fulfill this.

EDIT:

Application written using ASP.NET, .NET 4.0, and IIS 7 web forms

+3
source share
2 answers

URL ASP.NET 4.9: 4

0
0

Source: https://habr.com/ru/post/1747188/


All Articles