Created Unassigned: Where is the Validator DataAttribute Located? [7165]
Hi all,Goal---I'm trying to do something pretty straightforward -- validate the basics of a login form using MVC in .NET 4.5 with FluentValidation.MVC4 (via `Install-Package...
View ArticleNew Post: Web API 2
Yes! just get this fork : https://fluentvalidation.codeplex.com/SourceControl/network/forks/mahmoud690/WebApi2 and at your project startup set this : { GlobalConfiguration.Configuration.Services.Add(...
View ArticleCommented Unassigned: Where is the Validator DataAttribute Located? [7165]
Hi all,Goal---I'm trying to do something pretty straightforward -- validate the basics of a login form using MVC in .NET 4.5 with FluentValidation.MVC4 (via `Install-Package...
View ArticleEdited Unassigned: Where is the Validator Data Annotation Located? [7165]
Hi all,Goal---I'm trying to do something pretty straightforward -- validate the basics of a login form using MVC in .NET 4.5 with FluentValidation.MVC4 (via `Install-Package...
View ArticleCommented Unassigned: Where is the Validator Data Annotation Located? [7165]
Hi all,Goal---I'm trying to do something pretty straightforward -- validate the basics of a login form using MVC in .NET 4.5 with FluentValidation.MVC4 (via `Install-Package...
View ArticleCreated Unassigned: Extract WebAPI from Mvc5 [7166]
Please extract WebAPI related code from Mvc5 project and add it to the separate WebAPI project and publish a nuget package accordingly.Will you accept a pull request accomplishing this?
View ArticleCommented Unassigned: Where is the Validator Data Annotation Located? [7165]
Hi all,Goal---I'm trying to do something pretty straightforward -- validate the basics of a login form using MVC in .NET 4.5 with FluentValidation.MVC4 (via `Install-Package...
View ArticleCreated Unassigned: FluentValidation.Tests.TestExtensions [7167]
What do you think about replacing this class with Fluent Assertions library?https://github.com/dennisdoomen/FluentAssertionshttp://www.nuget.org/packages/fluentassertions
View ArticleEdited Unassigned: Extract WebAPI from Mvc4/5 [7166]
Please extract WebAPI related code from Mvc4/5 projects and add it to the separate WebAPI project and publish a nuget package accordingly.Will you accept a pull request accomplishing this?
View ArticleCommented Unassigned: Extract WebAPI from Mvc4/5 [7166]
Please extract WebAPI related code from Mvc4/5 projects and add it to the separate WebAPI project and publish a nuget package accordingly.Will you accept a pull request accomplishing this?Comments:...
View ArticleCommented Unassigned: FluentValidation.Tests.TestExtensions [7167]
What do you think about replacing this class with Fluent Assertions library?https://github.com/dennisdoomen/FluentAssertionshttp://www.nuget.org/packages/fluentassertionsComments: I'm happy with the...
View ArticleCommented Unassigned: Extract WebAPI from Mvc4/5 [7166]
Please extract WebAPI related code from Mvc4/5 projects and add it to the separate WebAPI project and publish a nuget package accordingly.Will you accept a pull request accomplishing this?Comments:...
View ArticleNew Post: Newbie: Validate length of string items in array
given a class like public class Person { public string[] Names {get;set;} } How can I write a validator to ensure every item in the Names array is at least 30 characters?
View ArticleNew Post: Newbie: Validate length of string items in array
Something like this should work:RuleFor(x => x.Names).Must(names => names.All(x => x.Length >= 30));
View ArticleCreated Unassigned: ASP.NET MVC client-side validation not working with rules...
The client-side validation rules in ASP.NET MVC are not injected correctly, when the validation rules are split in "validator-class" and "validator-super-class". Server-side validation works fine.Since...
View ArticleNew Post: Extending FluentValidation with Rule Namespaces
Hi We have used our own in house Error Message handling solution for many years which builds up a collection of validation errors. This has the concept of every error message having a namespace e.g....
View ArticleNew Post: Web API 2
Thank you very much. Are there any plans for including it in the master branch?
View ArticleNew Post: Web API 2
Hi FluentValidation already includes WebAPI support - at the moment it's part of the FluentValidation.Mvc dlls (FluentValidation.MVC4 for Web API 1 and FluentValidation.MVC5 for WebAPI 2). I'll be...
View ArticleNew Post: Extending FluentValidation with Rule Namespaces
Hi Craig The object being validated is passed as a parameter to the WithState method, so you should be able to use this to access any properties you need to. Something like this should do the...
View Article