Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in data-annotations

MetadataType problem

.net data-annotations

Date validation in ASP.NET MVC with DataAnnotations in ViewModel

Can I "override" annotations of a superclass's private field?

ASP.NET Core 6 ExceptionMiddleware and Validations

For data validation, where to add Html.RenderPartialAsync("_ValidationScriptsPartial")?

How to use DataAnnotation attributes for validating a model in a console app

How to validate model in .Net Core 3.1 in console app when the model contains another class's object as a property using DataAnnotations?

EF - Require either of two fields?

Is there any way to stop DataAnnotation validation after the first failure?

How do I render an HTML link within a form label using a DisplayName attribute and/or LabelFor?

Regular expression data annotation disallowed start / end spaces (similar to trim)

Why isn't AutoFixture working with the StringLength data annotation?

How do I apply a required field validation only if one radio button is selected

Data Annotation or Fluent API? Best Practise for supporting various ORM's

Localization of data annotations in separate class library

Validator.TryValidateObject does not validate attribute

What's the difference between DataType(DataType.PhoneNumber) & PhoneAttribute

EF Data annotations Regular expression

MVC 5 Data Annotation "Not Equal to Zero"

Simple way of accessing dependent property inside custom data annotation