How to make a .svc file write to asp.net Trace.axd

I am trying to figure out how to make a 3.5 WCF service thats hosted under IIS write to the asp.net trace?

Answers


My guess is that you would add this to the 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>

Need Your Help

Erlang fault-tolerant application: PA or CA of CAP?

erlang couchdb otp mnesia cap

I have already asked a question regarding a simple fault-tolerant soft real-time web application for a pizza delivery shop.

In place editing of Time object

ruby-on-rails time edit-in-place best-in-place

I have an app, which is used to plan work shifts for a number of employees. I have a Shift model, where I store the shiftstart and the shiftend as Time objects.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.