AttributeRouting icon indicating copy to clipboard operation
AttributeRouting copied to clipboard

The CustomRouteHandler does not work after Upgarde

Open jasmeetsangari opened this issue 11 years ago • 0 comments

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

jasmeetsangari avatar Jun 20 '13 19:06 jasmeetsangari