I Want to write Validation with fluent Validation for my login field in this field, customers can input email or phone numbers so I need two validatio ...
I Want to write Validation with fluent Validation for my login field in this field, customers can input email or phone numbers so I need two validatio ...
i have written one rule to check whether objects Id within list are not null or empty. But rule is not failing. Is any problem in here with my code ? ...
I am trying to find, if possible, to step into the validator class (MediatR) where Fluent Validation is being used. Something like this: When setti ...
I'm working with FluentValidator in .NET Core. Everything is working beautifully for the most part, but I notice that when working with complex types, ...
.Net Core 3.0 MVC view. Needs to apply - Client Side validation for below model. Tried as follow: Model:Person Validation Rules: Followed doc ...
I am using FluentValidation for the server side validation. Now I want to call a function using must. This is the form code snippet : <form metho ...
Im trying to see if there is a way to using FluentValidation without explicitly creating a validation model for every object type in my application. ...
I am using FluentValidation to validate the objects. I am simply checking checking whether the user exists in database or not. In my case, DbContext.E ...
I have this rule for validate that a property has a valid value depending on a list of allowed values in another property. That works fine, but I w ...
In a webapi project we have a model like: We have configured validation of parameters and we do some checks using ActionFilterAttribute: The pro ...
Current project: ASP.NET 4.5.2 MVC 5 Fluent Validation I may have a very strange issue here. I may be experiencing “Validation Leakage”, wh ...
Current project: ASP.NET 4.5.1 MVC 5 I need to know if I can nest When() statements like this: Because the last thing I want is to decorat ...
My Model is as below My controller is as below i want the following validation been set using Fluent Validation If Id == 'foo',then Name sh ...
Trying to make use of Fluent Validation to ensure that a date range is always filled and that the end date does not occur before the beginning date. ...
I have a number of form fields, such as phone numbers and postal codes, which can be left empty. However, when they are filled out, I want them to con ...
The exception I'm getting is Exception : Invalid get eligible shipping services request. 'Email' must not be empty. Email address is required. Th ...
I have a validator that looks like this Now my unit tests are failing because Height and Width are populated based on the value in Data. Data hold ...
Otherwise I always need to check if the value is null before performing any other validations. It's kinda annoying if I have many custom checks that a ...
I am trying to building custom validation with dynamic message in fluent validation library. For example : Is here any workaround how to pass val ...
I am able to register FluentValidation AbstractValidators using a FluentValidatorFactory. However, it doesn't feel right, because not all of the IoC c ...