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: Yes perhaps a lower level would be better though I imagine this will take longer to release? Main thing is that it should still work with Self hosting.
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: Yes perhaps a lower level would be better though I imagine this will take longer to release? Main thing is that it should still work with Self hosting.