I have a self-hosted WCF service that exposes only one WebInvoked operation with address and parameters as such:
www.myserver.com/myservice/SayHello?LuckeyNumber=3 (where LuckeyNumber : int)
Now, when someone is trying to access this address but with LuckeyNumber=EvilInput
I get a WCF error page that I would like to replace with a page (Similar to the Twitter Fail Whale).
- How to replace this page?
- Can I replace the page also for 404s, 405s and etc?
Thanks!