Thursday, July 07, 2011

Speed up debugging in Visual Studio

Wow I realized why i was grumpy. Single stepping through my code was taking up to 5 seconds per step. I think I forgot what I was doing after stepping through 10 lines. Obviously not effective so I devoted some time to figure this out. Stripped Visual Studio down to bare bones and then figured out the biggest culprits:
  • Unload unnecessary projects.
  • Delete .suo and user files to get them recreated.
  • Turn off:



  • Assigned ctrlshift-q to ReSharper_ToggleSuspended - Temporarily disable resharper - makes debugging much faster

Comet for web

With the move of our application to the web - we have to achieve the same level of interactivity that people expected from a desktop app in the new web app. To achieve this - there are some very clever things you can do in order to do this. We are experimenting with comet technology - a long poll from the browser that is light weight enough and if designed properly in the server doesn't use a lot of server resources. This long poll allows us to push stuff from the server to the client very effectively. Pretty neat and also interesting to see the creativity that people have in making things work the way they were never intended.

Sunday, August 06, 2006