Hello Everyone,
I have a .net c# web forms project, and I am trying to use RegisterRoutes in order to modify ordinary urls (product.aspx) to seo friendly url (product/).
However in an ordinary situation i can redirect to "product.aspx" page either as it is, either adding a parameter like "product.aspx?id=3". I tried to do the same with RegisterRoutes and I set the "product.aspx" page to "product/{id}".
If I redirect to page with parameter it works fine. On the other hand if I redirect to the page without parameter like "product/" then website crashed with error HTTP 404 - website not found.
Your advice will be appreciated.
Thank you in advance.