Combine MVC and .Net 4 Web Forms Routing
Posted on 2011-05-02
We are currently implementing some new functionality into our existing website which runs on a CMS that is .Net 4.
The CMS has it's own .Net 4 routing for it's user friendly URL's implemented through the CMS and also has a developer framework which allows us to create our own custom functionality.
We are creating this custom functionality on the MVC 3 framework using MVC routing.
I can successfully implement MVC routing if i have the .Net 4 routing turned off, but when i try and run them both together the MVC routing fails because the .Net 4 routing tries to implement it first (the .Net 4 one needs to run first because the code doing it does some other application related things on application start).
How can i get the call to the .Net 4 routing to ignore MVC routes?