Stress-O-Matic

A very simple stress-test The other day I was asked by a customer if I a small application that could be used to stress a web application. I didn’t feel like responding “Sure I do! Visual Studio 2005 Team Edition For Software Testers” and I also didn’t feel like saying “Why don’t you make one…

2

SessionState Performance

  Problem: Unable to make the session state request to the session state server.Please ensure that the ASP.NET State service is started and that the client and server ports are the same.If the server is on a remote machine, please ensure that it accepts remote requests by checking the value of HKLM\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection.   Cause: Excessive…

12

Are you getting OutOfMemoryExceptions when uploading large files?

Problem: Using the WebClient.Upload method for posting large files will eventually leave you stranded with OutOfMemoryExceptions. Cause: WebClient.Upload reads the entire file to memory by default. Resolution: Build your own uploader. Scenario: One of my customers was using WebClient.Upload in a Winforms application to transfer files to a webserver. The idea in itself was fine,…

38