Validation soap messages in WCF C# -


is possible check if field marked [datacontract] belongs list of string ?

i mean that:

[datacontract(possiblevalues=somelist)] string value; 

not directly, implement dataannotations implement server side validation. see here examples.


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -