I had an ASP.NET MVC project* that was created when VS 2013 first came out. (Aside: how do I find out the MVC version used for an existing project?). I have it now opened in VS 2015 and added a Web API 2 controller.
A static WebApiConfig class was added by VS. However, the Register method wasn't called. As a result, my api route is not recognized.
How/where can I call the WebApiConfig.Register method and what is the parameter that has to be passed to this method?
* This is the version where there is an App_Start folder with BundleConfig.cs, FilterConfig.cs, IdentityConfig.cs, RouteConfig.cs, StartupAuth.cs, WebApiConfig.cs.