Using the RemoteServiceTraceListener from a WPF Smart Client??

Topics: Logging Application Block
May 2, 2013 at 7:24 PM
Would it be possible to implement the RemoteServiceTraceListener from an WPF smart Client? We are currently using the Logging block on the server side and this would make our remote logging implementation easy.

Much Thanks,

May 3, 2013 at 1:53 AM
I don't think you can use the RemoteServiceTraceListener from a WPF application because it is contained in a Silverlight assembly.

Now, the Remote Logging Service is just a WCF service so it should be quite easy to Add a Service Reference and consume the service from a WPF application. If you wanted Enterprise Library integration on the WPF side you could create a Trace Listener based off of the RemoteServiceTraceListener code.

Randy Levy
Enterprise Library support engineer
Support How-to