WCF Data Services Feature Suggestions

Better Validation Support

Allow me to attribute the model or server side types with validation attributes. Those attributes should then we in the metadata description of the service and code gen'd onto the client types.

When I work with a service those validation attributes should be applied automatically and I should be notified when a validation failure occurs

366 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Mike FlaskoAdminMike Flasko (Lead Program Manager, DataFx) shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    3 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • ruben willemsruben willems commented  ·   ·  Flag as inappropriate

        it's a pain to regenerate all this on the client. The simple validation on properties should work on the client : isrequired, maxlength, valid-email, ....

      Feedback and Knowledge Base