The following works to map http://www.mydomain.com/myWebFormApp/AssociateRegistration.aspx?LabOrderNo=26116544 to
http://www.mydomain.com/myWebFormApp/AssociateRegistration.aspx/26116544
Sub RegisterRoutes(ByVal routes As RouteCollection)
routes.MapPageRoute("Associate Registration", "AssociateRegistration/{No}", "~/AssociateRegistration.aspx")
End Sub
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
RegisterRoutes(RouteTable.Routes)
End Sub
But I also want this to work so the orginal page's (AssociateRegistration.aspx) name remain the same. The purpose is the shorten the URL for SMS purposes but not affect other references to the page.
...
Go to the complete details ...