fluentvalidation

DataAnnotations and FluentValidation not working in MVC 2 project

I have edited the original question since the same error is occurring the difference being the implementation, I have now added Ninject to the mix. I have created a class for the validation rules public class AlbumValidator : AbstractValidator<Album> { public AlbumValidator() { RuleFor(a => a.Title).NotEmpty(); } } I ...

Autofac with FluentValidation in MVC2

I'm getting a 'not registered error' during execution in the ValidatorFactory.CreateInstance call. It appears the type being sent into the method is correct. My registration code: ... builder.RegisterAssemblyTypes(assembly).Where(t => t.Name.EndsWith("Validator")).As<IValidator>(); builder.Register(d => _containerProvider).As<IContain...