What is an HttpCombiner?

Wednesday, December 16, 2009


An HTTP handler that combines multiple CSS, Javascript or URL into one response for faster page load. It can combine, compress and cache response which results in faster page
load and better scalability of web application.


www.codecollege.NET

Daily Tips- Tip #41 -How will you test memory leak in a .NET application?


using Perfmon.exe application.


www.codecollege.NET

What is the css equivalent for the NOBR tag?


the space character  


www.codecollege.NET

What is the best practice for calling explicit garbage collections?

Monday, December 14, 2009


You should call the finalizer after gc like,

//c#
GC.Collect();
GC.WaitForPendingFinalizers();


www.codecollege.NET

Which one is a best practice to use DirectCast or CType?


DirectCast


www.codecollege.NET

Which is the best practice in applying multiple attributes to a same member?


Instead of applying it as comma seperated, apply individually in separate lines,
//c#
[Conditional("TRACE")]
[DebuggerStepThrough]
void MyMethod()
{
}


www.codecollege.NET

Daily Tips- Tip #44 - How will you mark a method as obsolete?


//c#
[Obsolete("Call NewMethod instead")]
void OldMethod()
{

}


www.codecollege.NET
Blog Widget by LinkWithin