c# - Input parameters validation and response -
i want validate operation parameters sent client (using iparameterinspector) in service , in case of wrong parameter input send response code part of response object instead of throwing fault exception. please let me know how can achieve this.
update : if not possible iparameterinspector, other options suggest ?
inspector intercepts calls service operations , performs logic validating parameters passed operation. if parameters found invalid actual service operation never gets executed, , way notify client exception (better part of faultcontract).
Comments
Post a Comment