I have an ASP.NET MVC application where I have activated WEB API 2 routing. When the application launches with the default url the default action is not being called. I am getting the following message:
"Message": "The requested resource does not support http method 'GET'."
This started occurring when I activated the [controller specific] routing feature via the config.MapHttpAttributeRoutes() operation.
If I do not include this call the default action does get called.
If I leave the call in - I can still access the actions by specifically including them in the URL -- like XXX/Home/ XXX/Home/Index
I have incorporated routing in previous applications. This application is a take over for me, and I cannot identify why the default action is not being called.