I am working in asp. net core 6.0 web API project (clean architecture (CQRS)). I am using fluent validation for validate command and queries. public class Creat
I'm trying to use FluentValidation to validate based on object.GetType() rather than knowing the type at compile time by injecting IValidator<T>, but I am
I have this validator using Fluent Validation in ASP.NET Core-6 Web API : public TransactionValidator() { RuleFor(p => p.Token) .Cascade(CascadeM
Mine concern is the following. I have these 2 classes : public class Campaign { public string name { get; set; } public string description {
I'm having a problem to validate certain types of values in my model (using fluent validation and FromBody). I have this model: public class PostAcess { pub
I'm using Fluent Validation to validate this model: class MyModel { public int Id {get; set;} public List<ChildModel> Children {get; set;} } clas
Validation is done in ASP.NET Core-6 Web API using Fluent Validation. So, I have this code: Custom Validator: public static IRuleBuilder<T, string> Custom
.Net Core 3.0 MVC view. Needs to apply - Client Side validation for below model. Tried as follow: Model:Person public class Person { public int Id {
For example I have validator with two validation rules: // Rule 1 RuleFor(o => o.Email).Must((email) => this.GetDataDataFromDB(email) != 0) .WithMess
I am using FluentValidation public class AddressModel{ public string Street{get; set;} public string City{get; set;} public string State{get; set;} pu
I'm working on a project where everything is done through a mediatR pipeline. To make things easy the pipeline is this : -> Validation -> Handler The Vali
I am working on a .NET Core 3.0 MVC project using FluentValidation, for validating input from the front end made in React. I can't rely on that the input is val
I'm using ASP, CQRS + MediatR and fluent validation. I want to implement user role validation, but I don't want to mix it with business logic validation. Do you
I'm trying to validate a class that has three required properties. If one or more of them is null it should trigger a single validation message. Is there a idio