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 - Knockout pushing observable and computed data to an observable array -

c# - Update a combobox from a presenter (MVP) -

'hasOwnProperty' in javascript -