Posted on: 5/13/2011 2:00:40 AM | Views : 269

I need help getting URL Routing to work on my localhost version of IIS7.
The test app I have includes the following Application_Start in the Global_asax class:
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
   With Web.Routing.RouteTable.Routes
       .MapPageRoute("One", "1", "~/One.aspx", False)
       .MapPageRoute("OneA", "A", "~/One.aspx", False)
       .MapPageRoute("Two", "2", "~/Two.aspx", False)
       .MapPageRoute("TwoB", "B", "~/Two.aspx", False)
       .MapPageRoute("Three", "3", "~/Three.aspx", True)
       .MapPageRoute("ThreeC", "C", "~/Three.aspx", True)
   End With
End Sub
Along with four web forms Default.aspx, One.aspx, Two.aspx, Three.aspx each of which contains these links:

Go to the complete details ...