follow this link https://www.c-sharpcorner.com/UploadFile/b1df45/fault-exception-and-fault-contract-in-wcf-services/