Ok, this question has been asked before, but there's not really a good answer to it that I can find. I want to enable/configure WCF tracing completely through code. I don't want to programatically generate a config file and load the section or some such
thing. I want to use the System.Diagnostics and Service Model API's to configure tracing; is this possible? One older post indicates that something like this is possible only from the context of another app domain; another shows an example of how to do it
by loading a configuration section. Is there some guidance on this topic somewhere? This shouldn't be too hard. Why I want to do this is irrelevant; I have a perfectly valid use case. Can it be done?
View Complete Post