title: Intercept the Model Validation in asp.net Core
body: <p>I've been trying to figure out which method sets the <code>ModelState</code> in an asp.net WebApi controller. I need to be able to inspect the <code>ModelState.IsValid</code> as the <code>ModelState</code> property is set. I've tried overriding a bunch of methods, to no avail.</p>