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

New Post: Mixing Collection and item validation

Hi, I want to validate a contactlist, its basically a collection. First I want to check if there are any duplicate Unique IDs in the list, then I want to use the ContactValidator I created to validate...

View Article


New Post: Reuse rule set validator

is it possible?[Test] public void Update() { var cm = bll.Get(id); cm.Entity.Addresses = new List(){new Address(){Description = ""}}; var vali = new AutoCommunicationClaimValidator(); var result =...

View Article


New Post: Mixing Collection and item validation

Try this: RuleFor(rl => rl) .Cascade(CascadeMode.StopOnFirstFailure) .Must(NoDuplicateUniqueIds).WithName("ContactList") .WithMessage("Unique ID must be unique") .SetCollectionValidator(new...

View Article

New Post: Mixing Collection and item validation

worked thanks so much Cacti :)

View Article

Created Issue: Integer greater than maximum value does not get included in...

I have created the following validator:Source Code--------------------------------------------------public class CreditCardModelValidator : AbstractValidator<CreditCardModel>{ public...

View Article


Commented Issue: Integer greater than maximum value does not get included in...

I have created the following validator:Source Code--------------------------------------------------public class CreditCardModelValidator : AbstractValidator<CreditCardModel>{ public...

View Article

New Post: Ability to conditionally process a rule if any previous rules have...

I've got a common validation scenario where I need to check for a duplicate email or screen name on user signup which requires hitting the database. If the email or screen name entered is invalid...

View Article

Reviewed: 3.3 (八月 09, 2012)

Rated 5 Stars (out of 5) - 非常好用,非常谢谢!

View Article


Source code checked in, #55c11361194f

Merge pull request #9 from meboz/master Added private no-arg constructor to ValidationFailure

View Article


Created Issue: all derivitives of AbstractComparisonValidator fail on...

This code: new LessThanValidator(10M).IsValid(5M, 10) fails with: System.ArgumentException : Object must be of type Decimal.This should succeed as decimal 5 is still less than integer 10.

View Article

Commented Issue: ValidationFailure constructors cause...

When running any unit test under a code coverage tool (e.g. TestDriven.NET "Test With" NCover or VS Coverage) which contains a call to either of the ValidationResult constructors, I get a...

View Article

New Post: verificationexception on .net runtime 4.5 final release

Hello, I installed from msdn the final visual studio 2012 release today. Now on the current project I get a verification exception. I´ve tried a few things. There must be a change on the framework...

View Article

Commented Issue: ValidationFailure constructors cause...

When running any unit test under a code coverage tool (e.g. TestDriven.NET "Test With" NCover or VS Coverage) which contains a call to either of the ValidationResult constructors, I get a...

View Article


New Post: verificationexception on .net runtime 4.5 final release

Two other solutions that are acceptable in some situations. Modify the fuluentvalidation src code. 1. Comment out the following lines in Src/CommonAssemblyInfo.cs #if !SILVERLIGHT[assembly:...

View Article

Commented Issue: ValidationFailure constructors cause...

When running any unit test under a code coverage tool (e.g. TestDriven.NET "Test With" NCover or VS Coverage) which contains a call to either of the ValidationResult constructors, I get a...

View Article


New Post: VerificationException Occurs Under Debugger: Solved

I am having the same issue, and I followed the steps to add the FluentValdation module to ignore list, but it still does it. Sort of a deal breaker at this point, any suggestions?

View Article

Commented Issue: ValidationFailure constructors cause...

When running any unit test under a code coverage tool (e.g. TestDriven.NET "Test With" NCover or VS Coverage) which contains a call to either of the ValidationResult constructors, I get a...

View Article


Updated Release: 3.4 (Aug 17, 2012)

Changes since 3.3: Make ValidationResut.IsValid virtual Add private no-arg ctor to ValidationFailure to help with serialization Add Turkish error messages Work-around for reflection bug in .NET 4.5...

View Article

Source code checked in, #3c795a8df970

Improve the process of automatically generating both signed and unsigned packages.

View Article

Commented Issue: Nuget 3.4 package not strong named [7107]

Just upgraded a project to the 3.4 nuget and noticed its dosnt have a strong name so assembly so assembly redirect is brokenComments: I have added a bug report to Ninject.Web.Mvc.FluentValidation (see...

View Article
Browsing all 1917 articles
Browse latest View live


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