Is there built-in support for tracing/logging
Answer / kirti
Yes, in the System.Diagnostics namespace. There are two main classes that deal with tracing - Debug and Trace. They both work in a similar way - the difference is that tracing from the Debug class only works in builds that have the DEBUG symbol defined, whereas tracing from the Trace class only works in builds that have the TRACE symbol defined. Typically this means that you should use System.Diagnostics.Trace.WriteLine for tracing that you want to work in debug and release builds, and System.Diagnostics.Debug.WriteLine for tracing that you want to work only in debug builds.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain what is the difference between view and partial view?
What is entity framework used for?
What is entity graph? : Entity framework
If we want to construct our own Garbage collector what are the steps things we have to do?
3 Answers Honeywell, Semantic Space,
What are the sub types of ActionResult?
What are actions in asp.net mvc?
what is an assembly?
What is side by side Execution ?
what is mean by COM (component object model) and component based software development? Is it .NET is first COM based technology? Please answer me. Advance thanks.
What is entitycontainer? : Entity framework
What is asp net framework?
Why doesn't the .NET runtime offer deterministic destruction