I have a Web API only project with no dependency on System.Web.Mvc.
So that I can use Elmah I need to add an ignore route like below:
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
Since ignore route is included in System.Web.Mvc rather than System.Web.Routing I have to add a reference, or internalize this extension (which is what I've done).
Comments: By this I mean previously we would have to use the IgnoreRoute helper from MVC.
So that I can use Elmah I need to add an ignore route like below:
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
Since ignore route is included in System.Web.Mvc rather than System.Web.Routing I have to add a reference, or internalize this extension (which is what I've done).
Comments: By this I mean previously we would have to use the IgnoreRoute helper from MVC.