Quantcast
Channel: Fluent Validation for .NET
Browsing all 1917 articles
Browse latest View live
↧

Updated Wiki: mvc

Integration with ASP.NET MVC FluentValidation can be integrated with ASP.NET MVC 3 and ASP.NET MVC 4. Once enabled, MVC will use FluentValidation to validate objects that are passed in to controller...

View Article


Updated Wiki: mvc

Integration with ASP.NET MVC FluentValidation can be integrated with ASP.NET MVC 3 and ASP.NET MVC 4. Once enabled, MVC will use FluentValidation to validate objects that are passed in to controller...

View Article


New Post: MVC 3 - Wrong property name in javascript validation while...

Hi, Using WithLocalizedMessage works with javascript as expected but when using the format string arg {PropertyName}. The property name is still the initial language after switching to another ui...

View Article

New Post: MVC 3 - Wrong property name in javascript validation while...

Hi Martijn Using a localized DisplayAttribute isn't something that FluentValidation currently supports. I'll get this added to the next version. Jeremy

View Article

Source code checked in, #8aacd3be1ad2ced2be247a2a8874aa079751387a

Allow lazy loading of display name, meaning you can now localize the display name using the DisplayAttribute

View Article


New Post: MVC 3 - Wrong property name in javascript validation while...

Implemented in latest commit. Jeremy

View Article

New Post: MVC 3 - Wrong property name in javascript validation while...

Thanks, that was quick. Martijn

View Article

New Post: FluentValidation does not honour ModelMetadata.IsRequired

I'm using a custom ModelMetadataProvider to help build a dynamic UI. One thing that it does is to set ModelMetadata.IsRequired based on whether the property is required or not. With the default...

View Article


New Post: String Validation

Does anyone know why error messages clear on a valid selections on controls with numeric values but error messages don't clear on character values? Doesn't seem to matter the kind of control (drop...

View Article


New Post: Breaking change in 4.0?

Hi, As developers of Catel we also provide a FluentValidation extension. Now one of my workitems for today was to upgrade FluentValidation to 4.0, but then one of our unit tests failed. After a bit of...

View Article

New Post: Breaking change in 4.0?

And I should read the release notes before I start a new thread. You clearly noted this as a breaking change, my bad.

View Article

New Post: Breaking change in 4.0?

Hi I did think for a while whether or not I should make this change as I knew it would be breaking, but I think it's better in the long run. This brings the Length validator in-line with other...

View Article

New Post: Breaking change in 4.0?

I partly agree with you. It's still not valid, so maybe the others are wrong. But I understand your point of view on the framework-side, so it's a good decision to keep it all the same.

View Article


New Post: Setting child collection properties validation result based on parent

Hi, I have the requirement to apply validation on partial views sharing same model. here is my model - (used in partial view and parent view both) public class AdditionalHoldersFormModel{ public...

View Article

New Post: Unify projects to create a better validator

Hi all: I've been seen both validators, Rules Engine and Fluent Validation, from: https://rulesengine.codeplex.com/ I think that will be a good idea to mix them and create some RE-FV with the best of...

View Article


Created Unassigned: ValidatorType Replace- RemoveRule [7143]

What type is the following validator:RuleFor(x => x.Surname).Length(1, 140).Unless(MyUnlessMethod);The Replace/RemoveRule methods needs a type, but when I supply it with typeof(LengthValidator) it...

View Article

New Post: Unify projects to create a better validator

Thanks for the suggestion. I don't think unifying the projects is something that would be practical, and isn't something that I personally have an interest in doing, but I am always open to feature...

View Article


Commented Unassigned: ValidatorType Replace- RemoveRule [7143]

What type is the following validator:RuleFor(x => x.Surname).Length(1, 140).Unless(MyUnlessMethod);The Replace/RemoveRule methods needs a type, but when I supply it with typeof(LengthValidator) it...

View Article

Updated Wiki: Documentation

This documentation is for the 4.0 release of FluentValidation.Creating a Validator ClassChaining ValidatorsValidation ResultsThrowing ExceptionsRe-using Validators on Complex PropertiesRe-using...

View Article

Updated Wiki: Validators

Built in Validators FluentValidation ships with several built-in validators. The error message for each validator can contain special placeholders that will be filled in when the error message is...

View Article
Browsing all 1917 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>