This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Code snippet for use in Windows Azure Cloud Services. | |
// The EnableDiagnosticTraceLoggingForComputeEmulator method can be called from ASP.NET | |
// code to enable output from the System.Diagnostics.Trace class to appear in the | |
// Windows Azure Compute Emulator. The method does nothing when deployed to the cloud, | |
// when run outside the compute emulator, when run other than in DEBUG, or run repeatedly. | |
// | |
// The code uses Reflection to dynamically load the needed assembly and create the | |
// specific TraceListener class needed. | |
// | |
// EXAMPLE INITIALIZING FROM Global.asax. |