How do I set up WCF end-to-end maintenance?

I have a problem that I would like to solve, but I don't know how to set up pass-through logging in WCF (I'm not sure if I can solve my problem even with pass-through logging enabled). I have three applications (A, B, C) that use a WCF service via NetMsmqBinding to communicate with each other. A is the host and B and C are the clients of the WCF service. The service uses message protection with certificates. The link between B and A works fine, but the link between C and A doesn't work. So I would like to use logging and figure out why messages are removed from the queue (in the case of C -> A) and not processed by the host ... How do we set up logging for this scenario to diagnose the problem ... (Appendix B and Appendix C are on one machine, application A is on another machine). (B -> A works like with certificates,and without them) (C → A works ONLY without certificates). I need to configure C -> A to work with certificates, but I don't know what's wrong to fix this. Please, help!

Thanks!

+1


a source to share


1 answer


Here's how to do end-to-end WCF tracing:

http://msdn.microsoft.com/en-us/library/aa738749.aspx



In your case, I would use the corporate library logbook. A logged record and output of each method with which parameters were sent, as well as the use of try catch around critical pieces of code with exception logging.

Hope it helps.

+1


a source







All Articles