I am trying to direct the path as follows:
http:
The routing structure does not select this as a valid route and gives me the error "Cannot find the resource." Does anyone know how I can get around this? It doesn't even get to my factory controller, so it doesn't even recognize it as a route or maybe it is looking for the actual file.
I have no problem with similar routes like:
http:
http:
but anytime I end the url with. he does not route it. If I do this, it works:
http://www.wikipediamaze.com/wiki/?topic=Washington,_D.C.
The route that I have installed is as follows:
routes.MapRoute(
"wiki",
"wiki/{topic}",
new { controller = "game", action = "continue", topic = "" }
);
Micah source
share