Interview questions

.Net - Configure Trace switches in the application’s .config file

Next question>>           Learn .NET
.Net - Explain how to configure Trace switches in the application’s .config file. - June 03, 2009 at 11:00 AM by Shuchi Gauri

Explain how to configure Trace switches in the application’s .config file.

switches are configured using the .config file

       <add name="MyTraceSwitch" value="1" />
       <add name="TraceSwitch2" value="1" />

both are on.

Next question>>

Also read

What are Debug and Trace classes? Explain how to use them to display error classes.

Both are used to help programmers find errors, occurring events and flow of code.........

Describe how to create Trace Listeners and log Trace output. 
What is the difference between Debug.Write and Trace.Write?

Debug.Write: Debug Mode, Release Mode (used while debuging a project)..............

.NET debug and trace classes

What is Break mode?, What are the options for stepping through code?, What is a Breakpoint?, Define Debug and Trace Class, Explain how to configure Trace switches in the application's .config file, What are Trace switches?................

.Net Debugging and tracing

What is break mode? What are the options to step through code?, Debug Vs Trace, Define trace class, Define Listeners collection of Trace and Debug objects, Define Trace Switches...................

Write your comment - Share Knowledge and Experience


Latest placement tests
Latest links
Latest MCQs
» General awareness - Banking » ASP.NET » PL/SQL » Mechanical Engineering
» IAS Prelims GS » Java » Programming Language » Electrical Engineering
» English » C++ » Software Engineering » Electronic Engineering
» Quantitative Aptitude » Oracle » English » Finance
Home | About us | Sitemap | Contact us | We are hiring