AlexBar/Core — pull request #1 by AlexBar (2012-04-17 22:30:21+00:00)
Title: Remote validation

Hi,
I've implemented remote validation.

Usage:

Configure(user => user.Username).Remote(x => x.For(c => c.UsernameExists), () => "Error");
Configure(user => user.Username).Remote(x => x.For(c => c.UsernameExists, "myArea"), () => "Error");
// Configure(user => user.Username).Remote(x => x.For("Home", "UsernameExists"), () => "Error");
....

See \MvcExtensions.Tests\ModelMetadata\RemoteValidation\RemoteModelMetadataItemBuilderTests.cs for more examples