What is the expansion of CAO?

Sunday, December 13, 2009


Client-Activated Objects.


www.codecollege.NET

Daily Tips- Tip #39 - How will you beging a running a standard application message loop on the current thread?

Friday, December 11, 2009


Application.Run(new Form1());


www.codecollege.NET

Daily Tips- Tip #38 - What is the method in MS Exception Management Application Block which is used to publish exceptions?


ExceptionManager.Publish(ex);


www.codecollege.NET

Is it true that objects don't always get destroyed immediately when the last reference goes away?


Yes. The garbage collector offers no guarantees about the time when an object will be destroyed and its memory reclaimed.


www.codecollege.NET

Daily Tips- Tip #37 - What is the best way to check for a null and an empty value in a string?


string mystr;
if (String.IsNullOrEmpty(mystr))


www.codecollege.NET

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
Blog Widget by LinkWithin