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

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -