so i have some blazor clientside project so as i should i have lets say person.cs in shared project so it can be used both in client and server side - ...
so i have some blazor clientside project so as i should i have lets say person.cs in shared project so it can be used both in client and server side - ...
I have a form in a razor page where im implementing clientside validation using jquery, jquery unobtrusive and jquery validation alongside dataannotai ...
I m using WEB API (.net 6) for my project. For validation I m using data annotation. it does not display error, the way I decorated the property My p ...
I am trying to implement a pre-labeler for Label Studio. The documentation (e.g. https://labelstud.io/guide/ml_create.html#Example-inference-call) is ...
I have a class with ~400 string properties(it's auto-generated) I would like to apply [StringLength(50)] to all properties within the class. Is that i ...
I have an EditForm that has three properties, one of which at least must be specified and cannot be empty/white space. To enforce this, I built a cust ...
I am working on REST API. I have JSON input in POST request contains many parameters of which one is user language. JSON: I have created Enum clas ...
[![enter image description here](https://i.stack.imgur.com/g7mFS.png)](https://i.stack.imgur.com/g7mFS.png) Here i tried to use data annotations , i ...
I'm building a basic project using Visual Studio 2019. All of the input fields work fine, the Required data annotation prevents a submit if the input ...
I have filed an issue in the official doccano repo. Here. However I am posting here also in the hope of getting some idea on what I am doing wrong. ...
When using DataAnnotations to validate models for incoming controller requests, non-nullable reference types are implicitly treated as required unless ...
What I'm trying to do seems really simple but I'm struggling with it since this morning... I just want to force French language for html.ValidationMe ...
I am facing the issue of data validation being executed on load of a new page even though it is clearly coming from a Get method. Is there something t ...
Trying to use TryValidateProperty to validate Customer class, it fails validate on Address property which is another class. I'm getting this error ...
I am working on .NET Core Web API project, I have few data models and implemented data annotations. While updating user profile, user can enter all f ...
I have a blazor component and using editcontext with data annotations. I'm trying to validate on field at a time on keypress or onblur instead of vali ...
I have Custom Unique Email validation using ASP.NET Core-6 Web API Entity Framework project Then I called it here: But I got this error: The ...
In ASP.NET Core-6 Web API, I just decide to use data annotation for validation. I have this code: DTO: How do I validate ChargeMode in the Custo ...
I would need help to ensure CustomerCode has value only if UserTypeID is not 1 EmployeeCode is required if UserTypeID is 1 (this part is working ...
I have several entities that I applied different data annotations on each one, but when I use of migration, these data annotations are not applied to ...