Open viperguynaz opened 10 years ago
@viperguynaz This is exactly what I need. I get the following exception on the second line. Did you remove some configuration to stop Initialize being called the first time?
"A route named 'Elmah.Mvc' is already in the route collection. Route names must be unique."
I raised this issue on Elmah.MVC. Your issue is over a year old!!! Is this project dead?
This issue is 3 years old now, and still open. @alexbeletsky, I use and like this elmah-mvc a lot so I just opened this repository to see if I can contribute somewhere. There are 32 open issues though of wich 12 are from 2015 or older; yikes ;) Can I help there somehow?
Just added MVC 5.1 to a project with Attribute Routing. This breaks the custom Elmah.Mvc routing (especially with Areas). A simple work-around, for now, is in RouteConfig first Map attribute routes, then init Elmah.Mvc, then register areas: