Sitefinity 8.1 Bootstrapper MapRoute no longer works
The following lines of code seems to be broken, they don't work anymore.
Bootstrapper.MVC.MapRoute(
"Partial", "Partial/controller/action/id", new controller = "Home", action = "Index", id = UrlParameter.Optional );
We used the Route attribute for all Ajax calls in the controller method and then it started working...
Any info from Telerik staff about this? The function didn't even go deprecated.
Is there another function for configuring the route?
Hi,
I suppose the site where the use of Bootstrapper.MVC.MapRoute is running Sitefinity 8.1. This have been rmoved in Sitefinity 8.1, here is the list of breaking changes in this version.
For versions prior to 8.1 the below call to map a route is functioning.
Bootstrapper.MVC.MapRoute(
"Classic"
,
"someurl/controller/action/id"
,
new
controller =
"SitefinityTestMvc"
, action =
"Index"
, id = (
string
)
null
);