Monthly Archives: May 2010

Linq to SQL – The Importance of DataLoadOptions

Here is a simple example. We have Categories, which have many Initiatives.  Easy one-to-many relationship. We have a Linq to SQL query, that grabs the Categories.  Since the table relationship is in the Linq to SQL DataContext (.dbml file), it … Continue reading

Posted in Development | Tagged , , | Leave a comment

Visual Studio – Decreasing Local Build Times

As we all know, Ctrl+Shift+B is the keyboard shortcut to “Build Solution”. However, when you are building a very large web app, it can take several minutes (or more) to build everything. This is counter-intuitive when you’re working on a … Continue reading

Posted in Development | Tagged , | 1 Comment

Parsing IIS Logs

Log Parser 2.2. http://www.microsoft.com/downloads/details.aspx?familyid=890cd06b-abf8-4c25-91b2-f8d975cf8c07&displaylang=en I don’t remember where I found the original scripts, but I modified them a little bit to look for performance problems.   — files by size "C:\Program Files\Log Parser 2.2\LogParser.exe" "SELECT EXTRACT_EXTENSION(cs-uri-stem) AS Extension, MUL(PROPSUM(sc-bytes),100.0) AS … Continue reading

Posted in Development | Tagged , | Leave a comment

Reading Memory Dumps with WinDbg

  A post-mortem crash dump can be an invaluable resource in finding Production problems, that only occur in Production. This should be considered a “last-ditch effort” to find the issue, and should only be attempted after you’ve tried everything else. … Continue reading

Posted in Development | Tagged , , | 1 Comment