Quantcast
Channel: Fluent Validation for .NET
Viewing all articles
Browse latest Browse all 1917

New Post: ValidationResult over WCF Services

$
0
0
I tried to user FluidValidation over WCF services. I had couple of issues when I returned ValidationResult from my Save method
  1. When I try to access the result from UI, property names under ValidationResult.Errors were skewed. In the UI, I see ErrorMessagek__BackingField and PropertyNamek__BackingField instead of just ErrorMessage and PropertyName.
  2. I could not use the save method over WCF test client. Method is disabled with the message "This operation is not supported in WCF Test client " because it uses type FluidValidation.Results.ValidationResult".
I am hoping I am missing something. Could somebody help me with this.

Viewing all articles
Browse latest Browse all 1917

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>