Posted on: 4/8/2012 8:59:32 PM | Views : 335

Hi everyone,
I've got some newbie issues with a routing table and physical paths, i can't seem to resolve. First of let me map the folderstructure of the root:
root - About - Contact - js - Legal - Photo - Architecture - Elements - js - Life - Nature - Portrait - res - Sports - res Next up is the problem, I've made a routing table for the photo folder, but when I try to open the link, it completely ignores the table and goes directly to the absolute link instead and tries to open a folder it has no listing access for. I've tried to made an alternative routing table renaming the sections of the link, but this just makes problems when I try to use it with DirectoryInfo and Server.MapPath. My problem code is this:
Global.asax: void Application_Start(object sender, EventArgs e) { RegisterRoutes(RouteTable.Routes); } void RegisterRoutes(RouteCollection routes) { // R ...

Go to the complete details ...