I'm not sure that it has already been asked. Okay, this is my problem.
I have a classic web form site that I am trying to convert to hybrid-MVC. That is, all new functionality will be MVC, however, we have a custom HTTP handler that takes care of our darn-friendly URL and we are not planning on changing. My problem is adding our existing URL as the neglect routes. I do not want to add all of them (1000s) as an exception in Application_Start (). Adding a custom HTML module, which is a site located above MVC and our existing custom handler is a viable solution. This module will basically make a request for an investigation against XML files (existing routes) and request that the MVC or MyHandler will take action on the request.
Has anyone tried this? I'm having trouble loading the request for proper handler.
By implementing IRouteContraint, create a custom content appears in your XML file, and then when you map them If you do, pass it on in your own way.
Comments
Post a Comment