Returning HttpError Response in WCF

Today I had to throw an HttpException but it turned out the on the WCF side this only returns Error 500.

Whenever you throw a HTTPException you need to catch it in your service:

Leave Comment

Your email address will not be published.

Please type the characters of this captcha image in the input box

Please type the characters of this captcha image in the input box