I created a web service REST using Web Api 2, and in development everything is functional. I'm using a small variation of the default route:
config.Routes.MapHttpRoute(
name: "DefaultApi",
routeTemplate: "api/{controller}/{numProtocolo}",
defaults: new { numProtocolo = RouteParameter.Optional }
);
However, when the application is created in IIS (version 7, Windows 2008 Server 32-bit) and run in production, it returns 404 for routes that are valid: