OData v4 error on start-up: Resource not found for the segment 'Whatever'
问题 I am building out my new v4 service and all was going well until I added a new controller for a new model/entity and got this error when starting the site up for a test run. The controller seems to be correctly coded, just like the others. The path template 'Customers' on the action 'GetFeed' in controller 'CustomersOData' is not a valid OData path template. Resource not found for the segment 'Customers'. What on Earth does that mean? 回答1: This error happens in Web API attribute routing