0

I'm having an apparent AppDomain issue with tracing from within web pages (as opposed to the WebRole). Basically, if I invoke one of the tracing methods (i.e. Trace.TraceWarning("Ooops!")) the trace message doesn't show up in the Windows Azure Compute Emulator. The message does, however, show up just fine in the Output window.

Any help in this regard would be greatly appreciated.....

1 Answer 1

1

I think that for now this is just a limitation of the Compute Emulator... it only shows trace messages from your RoleEntryPoint code.

2
  • Thanks for the quick reply! Now that I think about it your suggestion makes perfect sense.... Dec 25, 2010 at 2:53
  • I ended up creating my own TraceListener then instantiating it twice; once for the WebRole AppDomain and once for the the website AppDomain (through Global.asax) Dec 26, 2010 at 4:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.