mccalltd / AttributeRouting

Define your routes using attributes on actions in ASP.NET MVC and Web API.
http://mccalltd.github.io/AttributeRouting/
MIT License
416 stars 89 forks source link

The CustomRouteHandler does not work after Upgarde #256

Open jasmeetsangari opened 11 years ago

jasmeetsangari commented 11 years ago

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(); config.AttributeRouteFactory = new AttributeRouteFactory(config); config.AutoGenerateRouteNames = true; config.UseRouteHandler(() => new CustomHttpControllerRouteHandler()); });

That does not work anymore