AttributeRouting
AttributeRouting copied to clipboard
The CustomRouteHandler does not work after Upgarde
Hi,
We Upgraded to the AR Version 3.5.6 from 3.4 and Now the CutsomRouteHandler Stoped Working. We ere registering the RouteHandler through the Property UseRouteHandler
routes.MapHttpAttributeRoutes(config => { config.AddRoutesFromAssemblyOf<BaseController>(); config.AttributeRouteFactory = new AttributeRouteFactory(config); config.AutoGenerateRouteNames = true; config.UseRouteHandler(() => new CustomHttpControllerRouteHandler()); });
That does not work anymore