I am creating an application in Asp.Net-MVC in VS2015. I want that application should support MVC routing and Angular 2 routing both.
I need MVC routing for Menu bar and Angular 2 routing for wizard present in each page lie below image.
I have gone through various articles and finally used below code in my RouteConfig.cs file:
 routes.MapRoute(
            name: "spa-fallback",
            url: "{*url}",
            defaults: new { controller = "Home", action = "Index" }
            );
But this is not working properly. When i go from Home/Index to Home/Contact, it should not consider the angular 2 routing . But it is considering the angular 2 routing and showing the error :
Error: Cannot match any routes: 'Home/Contact'(…)
Below is screenshot:
How could i made the application compatible with both routings. Thanks


 
     
    