I installed AttributeRouting via nuget, for an ASP.NET MVC 4 project, in which previously I mapped routes lowercase with a MapRouteLowercase extension, but I don't really think this could be causing the problem, because when I disabled my older route mappings in Global.asax, the attribute based routes were still not working.
[GET("Sample")]
public ActionResult Aszadba()
{
... do whatever
}
But when I check the routes.axd, the route is not present, nor it is working : (
Didn't touch any of the basic configurations that the package made at install. If I put a breakpoint into the AttributeRoutingConfig
class it gets hit, so it seems the mapping function is called properly.
I also tried mapping with the [Route("Lofasz",HttpVerbs.GET)]
format, without success.
Any help or hint would be appreciated!