wcf - How to make a .svc file write to asp.net Trace.axd -
i trying figure out how make 3.5 wcf service thats hosted under iis write asp.net trace?
my guess add web.config file:
<system.diagnostics> <sources> <source name="system.servicemodel" switchvalue="information, activitytracing"> <listeners> <add name="asptracelistener" type="system.web.webpagetracelistener" /> </listeners> </source> </sources> </system.diagnostics>
Comments
Post a Comment