Doing SharePoint development and a fan of FxCop for code analysis?
Make sure you have these set of SharePoint specific rules added:
It currently supports 19 different rules, most of them related to IDisposeable-patterns.
Continually running FxCop agaist your code during development (see this post on how to integrate it into Visual Studio) and prior release running SPDisposeCheker on all assemblies should prevent you from hitting most memory leak issues (and as a bonus you will discover other possible issues in your code that FxCop points out)
No comments:
Post a Comment