I am creating an MVVM Silverlight application and am trying to add validation to my Model. 开发者_Go百科
I have an asp.net MVC application. There is an entity called File that it has a property called Name.
开发者_运维知识库I want to use DataAnnotations to validate classes that implements some interfaces, and so I\'m adding validation attributes to the interface, like this:
In my application I have my Model structure decorated with DataAnnotations. This helps with my validation perfectly, however I\'m not sure how to have those DataAnnotations persist down to my ViewM开发
I have a basic DTO object which I am trying to update, I noticed if I post some data from the UI to the controller and I enter string inside a decimal field the data annotations validation does not pi
First, is there a way to tell EF 4.1 that a column needs to be unique by using either data annotations or the fluent API?
As the title says, is it possible to generate computed values for properties when using Data Annotation Validation in ASP.NET MVC (3)?
I use the FluentValidation framework to add validation and annotations to my models in an MVC project.
I am working on an ASP.NET MVC 2 application and am struggling to get the desired behavior from a dialog window in one of my pages.Think of it as something like the \"Add New Item\" window in Visual S
I\'m curious if this is a crazy idea.Right now I have a typical structure as follows Client (currently asp.net mvc3, but could be anything in the future)