I have a Web API 2 project that is now throwing the following error message:
The inline constraint resolver of type 'DefaultInlineConstraintResolver' was unable to resolve the following inline constraint: 'id'.
I am wondering why it started doing this now since my WebApiCOnfig hasn't changed (See below)
Code
public static void Register(HttpConfiguration config)Code
{ // Web API configuration and servicesCode
config.Filters.Add(new GeneralActionFilter());Code
config.Filters.Add(new GeneralExceptionFilterAttribute());Code
// Web API routes - Allows Actions to define a route via AttributeCode
config.MapHttpAttributeRoutes();Code
Code
config.Routes.MapHttpRoute(Code
name: "DefaultApi",Code
routeTemplate: "api/{controller}/{id}",Code
defaults: new { id = RouteParameter.Optional } );Code
Code
} I'll appreciate any help you can give me...

Md. Abdulrafay168 reputationPosted Dec 8, 2016, 1:59 AM EST