How to handle asp.net mvc routing along with asp.net webform routing. I have merged my mvc app into my existing web application.
In my web application i have implement routing as below:
routes.Add("View Product Details",
new Route("Product/{City}/{Manufacturer}/{Name}/{ProductID}/{*ProductType}"));
Similarly i have implemented routing in mvc as below
routes.MapRoute("Product Details",
"Product/{City}/{Manufacturer}/{Name}/{ProductID}/{ProductType}",
new
{
controller = "Home",
action = "ProductDetails",
City= UrlParameter.Optional,
Manufacturer= UrlParameter.Optional,
Name= UrlParameter.Optional,
ProductID= UrlParameter.Optional,
ProductType= UrlParameter.Optional
});
Please help me on this, as both page have different functionality and design.
How to handle both pages, as one is custom web form while other is asp.net mvc view?