Posted on: 10/3/2013 8:26:46 PM | Views : 789

I want to use a Route with Server.Transfer.  I know Server.Transfer bypasses Routing, so I want to just do a lookup in the Routing Table.  If I create the Route with:
routes.MapPageRoute( "", "Fusion/Home", "~/App/Planning/Default.aspx" ); I want to get the path I want to do something like
Server.Transfer(routes["Fusion/Home"]).VirtualPath); I am checking a Session variable on PageLoad and if it isn't set I go to a page that sets it and then returns to the original page.  Using Routes makes the code maintainable (just change the route if I move the page) and Server.Transfer saves a round-trip.  Is ...

Go to the complete details ...