Error implementing a Custom Model Binder in Asp.Net Web API
im stuck with this very strange problem. i have an API Controller named AttendanceController derived from APIControllerFA which is inturn derived from ApiController here is the code public class AttendanceController : ApiControllerFA { public HttpResponseMessage PostAttendance([ModelBinder(typeof(AttendanceRegistrationModelBinder))]AttendanceRegistrationModel model) { //checking model state for errors //throw new Exception("Just to throw an error "); ........... As can be seen on the PostAttendance method i have a custom ModelBinder named AttendenceRegistrationModelBinder for which this is the