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

New Post: Web API 2

Hi, Has anyone made this work with ASP.NET Web API 2?

View Article


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 Article


New 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 Article

Commented 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 Article

Edited 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 Article


Commented 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 Article

Created 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 Article

Commented 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 Article


Created 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 Article


Edited 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 Article

Commented 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 Article

Commented 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 Article

Commented 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 Article


New 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 Article

New 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 Article


Created 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 Article

New 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 Article


New Post: Web API 2

Thank you very much. Are there any plans for including it in the master branch?

View Article

New 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 Article

New 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
Browsing all 1917 articles
Browse latest View live


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