Monday, September 05, 2011


I was introduced today to SPDisposeCheck (http://archive.msdn.microsoft.com/SPDisposeCheck), which checks your code for violations against the (absolute, sacred, and inviolable) Best Practices for disposing Sharepoint objects.  Probably old news to most SharePoint developers.  But I'm a nub.

SPDisposeCheck can run standalone or as a Visual Studio plugin. 

You can configure it to run automatically after every build and flag potential violations as errors or warnings.

I had a couple false positives, but pretty nifty tool overall.


Post a Comment