Top "Fluentvalidation" questions

Fluent Validation is an ASP.

ASP.net MVC Validation Hook

I have the following view in ASP.net MVC 3: @model Models.CreateProjectViewModel <script type="text/javascript" src="@Url.Content("~/…

asp.net-mvc asp.net-mvc-3 unobtrusive-validation fluentvalidation asp.net-mvc-validation
Dependency-Injected Validation in Web API

In MVC, I can create a Model Validator which can take Dependencies. I normally use FluentValidation for this. This allows …

c# dependency-injection asp.net-web-api fluentvalidation
FluentValidation NotEmpty and EmailAddress example

I am using FluentValidation with a login form. The email address field is Required and Must be a valid email …

c# validation refactoring fluentvalidation
Fluent Validation with Swagger in Asp.net Core

I am currently using Fluent Validation instead of Data Annotations for my Web api and using swagger for API documentation. …

asp.net-core swagger fluentvalidation
FluentValidation message for nested properties

I have a class with a complex property: public class A { public B Prop { get; set; } } public class B { public …

asp.net validation fluentvalidation
Fluent Validations. Error: Validation type names in unobtrusive client validation rules must be unique

I got the erorr: Validation type names in unobtrusive client validation rules must be unique. The following validation type was …

jquery c#-4.0 asp.net-mvc-3 fluentvalidation
How to mock a method with an out parameter?

I am using a library that uses out parameters in a function and I need to test my code using …

c# unit-testing mocking moq fluentvalidation
FluentValidation client-side validation

I tried to use GreaterThen validator and it looks like it doesn't support client-side validation. Is there a list of …

asp.net-mvc fluentvalidation
Writing a generic FluentValidation custom validator to check unique constraint

Really new to C#, ASP.NET MVC and FluentValidation. i have a user model like: public class UserDetails{ public int …

c# asp.net-mvc validation generics fluentvalidation
What is the correct way to register FluentValidation with SimpleInjector?

I am able to register FluentValidation AbstractValidators using a FluentValidatorFactory. However, it doesn't feel right, because not all of the …

dependency-injection fluentvalidation fluentvalidation-2.0 open-generics simple-injector