I have visual studio 2012 installed with mvc4 using .net framework 4.5. Now I want to use webapi2 with attribute writing and i want my hlep page show all the endpoints prope
This was not your case (as is apparent from your sample code), but please do remember to end the Controller class name with Controller.
Controller
Else it won't be picked up by config.MapHttpAttributeRoutes();.
config.MapHttpAttributeRoutes();