Lucascan’s top 5 tips for a healthy ASP.NET application

These tips are reasonably well-known and have been blogged by others.  However, considering how often I come across these common “mistakes”, I felt yet another blog post was worthwhile: 1) Disable ASP.NET debugging in production! I cannot emphasize this enough, Set debug=”false” in all your web.config’s.   I’m regularly pleasantly surprised by how many production issues can…

2

.NET 2.0 WebException "The underlying connection was closed: A connection that was expected to be kept alive was closed by the server"

I’ve been working with a few customers lately that have been experiencing this WebException that has been confirmed as an issue introduced by connection management design changes incorporated into .NET 2.0.  The exception typically ocurrs during a web service call however any scenario involving a HttpWebRequest with keep-alives could encounter this issue.    Note, this…

1