Enabling Tracing Programmatically in ASP.NET

By | January 2, 2011

ASP.NET provides a internal details of page related information by enabling Tracing. To use tracing, we need to explicitly enable it from Page directives as shown in below Enable tracing from page directives is one of the easiest way to enable it. But, we can use Page.Trace object to enable or disabled the tracing programmatically. Trace object is… Read More »

Use Conditional Breakpoints with Method Calling in Visual Studio

By | December 30, 2010

Visual Studio Breakpoints allow you to put conditional breakpoint. If and only if that condition is satisfied, the debugger will pause the execution. Along with the normal condition with in conditional breakpoint in visual studio, we can call a methods from the condition field and based on the return value debugger will stop at the breakpoint. Let’s say… Read More »

Know when your application pools recycling in IIS 7.5 – Log an entry in Event Viewer while recycling

By | December 29, 2010

In IIS 7.5 you can enable the event logging when application pool recycles. When IIS will log, for that you can set certain number of  settings.  This logging is very important when you want to find out why and when your application pool recycling. From List of Application pools, Right Click on the required Application Pool > Advanced… Read More »