Currently you can only use the RemoteAttribute with MVC controllers. You should be able to do remove validation using an ASP.NET Web API controller.
Ex. see http://stackoverflow.com/questions/13318150/remote-validator-on-model-in-mvc4-to-api-route
To get RemoteAttribute to work with ASP.NET Web API we could:
- Implement a new RemoteAttribute
- Extend the existing MVC RemoteAttribute
Ex. see http://stackoverflow.com/questions/13318150/remote-validator-on-model-in-mvc4-to-api-route
To get RemoteAttribute to work with ASP.NET Web API we could:
- Implement a new RemoteAttribute
- Extend the existing MVC RemoteAttribute