Last active
November 5, 2020 10:32
-
-
Save robinvanderknaap/d74e6e26f5f804332ff563271397cd6e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NinjectValidatorFactory ninjectValidatorFactory = new NinjectValidatorFactory(Kernel); | |
FluentValidationModelValidatorProvider | |
.Configure(x => x.ValidatorFactory = ninjectValidatorFactory); | |
DataAnnotationsModelValidatorProvider | |
.AddImplicitRequiredAttributeForValueTypes = false; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment