Hi,
I have a problem I have been unable to fix up. I am trying to create some good URLs for a dynamic page using PathInfo to get the various bits of information. I understand I can use QueryString for this but I this isn't an option and PathInfo matches my URL requirements better.
URL Example
localhost:49583/home/contact-map/test-path-info-here
I played around with PathInfo and it works fine for standard pages however for any page using the MVC Player which loads in one of my Views it doesnt work. I am presented with this error.
public class MvcHttpHandlerWrapper : MvcHttpHandler
Has anyone else experienced this issue?
I have a problem I have been unable to fix up. I am trying to create some good URLs for a dynamic page using PathInfo to get the various bits of information. I understand I can use QueryString for this but I this isn't an option and PathInfo matches my URL requirements better.
URL Example
localhost:49583/home/contact-map/test-path-info-here
I played around with PathInfo and it works fine for standard pages however for any page using the MVC Player which loads in one of my Views it doesnt work. I am presented with this error.
public class MvcHttpHandlerWrapper : MvcHttpHandler
{
public MvcHttpHandlerWrapper()
{
RouteCollection = MvcPlayerRouteTable.Routes;
}
public void PublicProcessRequest(HttpContextBase httpContext)
{
//ERROR DETAILS
//The controller for path '/test-path-info-here' was not found or does not implement IController.
base.ProcessRequest(httpContext);
}
}
I have tried RegisterPathInfoUsage in various places but this has no effect. It looks like a bug of the MVCPlayer.Has anyone else experienced this issue?