Daily Tips- Tip #36 - How to view trace details for a specific request?

Thursday, December 10, 2009


To view trace details for a specific request
1.Goto to Trace.axd in the root of your application.

For ex: if the URL for your application is http://localhost/myApplication, Goto http://localhost/myApplication/trace.axd to view the trace information for that application.

2.Select the View Details link for the specific request that you want to investigate.



www.codecollege.NET

How to enable application level Tracing?


<configuration>
<system.web>
<trace enabled="true" pageOutput="false" requestLimit="40" localOnly="false"/>
</system.web>
</configuration>


www.codecollege.NET

Which class has culture information used for resource files?

Wednesday, December 9, 2009


Thread.CurrentThread.CurrentUICulture


www.codecollege.NET

Which class do we need to assign formatting related culture information?


Thread.CurrentThread.CurrentCulture


www.codecollege.NET

How will you create a specific culture?


CultureInfo.CreateSpecificCulture()


www.codecollege.NET

Daily Tips- Tip #35 - #region blocks

Monday, December 7, 2009


Enclose Methods and Interfaces in #region blocks so that it can be collapsed or expanded.


www.codecollege.NET

How will you refine filter condition in Catch blocks and avoid rethrowing an exception?


use When keyword


www.codecollege.NET
Blog Widget by LinkWithin