RSS Search

News  Feeds  Tags  Search Shortcuts

FeedsFarm.com > How to turn on debug exceptions with WCF

How to turn on debug exceptions with WCF

13th Nov 2006, 14:05 GMT

It is possible to see exceptions passed back in the messages sent to the service. This makes it a lot easier to debug multi-peer applications. The way to do this is to add into the web.config file the section. You can see in the following config section that the behavior is defined, this sets up the system to include exception details in the return faults. If you do this set this up, make sure you remove it when you deploy your code into the wild. Finding exception info can be used to find ways to exploit your server based on stack traces.

View full story at blogs.technet.com

How to turn on debug exceptions with WCF related news:

Latest news from David_Bennett: