SharePoint of the Day #61

If you iterate through the AllWebs collection of a site collection you must remember to call Dispose() on the SPWeb objects you retrieve. Otherwise you will have a memory leak.
Delicious Digg This Post

Posted under Developer

This post was written by spotd on June 24, 2009

Tags:

SharePoint of the Day #48

Never dispose objects received through SPContext.Current. Doing so will dispose objects used by other code and may cause your application or page to crash.
Delicious Digg This Post

Posted under Developer

This post was written by spotd on June 5, 2009

Tags:

SharePoint of the Day #38

Microsoft’s SharePoint Dispose Checker Tool really helps you find potential problems with disposing SharePoint objects in your code.
You can download the SharePoint Dispose Checker Tool from MSDN code library.
Delicious Digg This Post

Posted under Developer

This post was written by spotd on May 22, 2009

Tags:

SharePoint of the Day #18

You should never change any of the files that ship with SharePoint, including any XML files, ASPX files, or CSS files in the 12-hive.
If you change any of these files, Microsoft may refuse to support your SharePoint installation.
The only thing you can change is to alter the Hidden attribute of Template elements in the [...]

Posted under Administrator, Developer

This post was written by spotd on April 24, 2009

Tags:

SharePoint of the Day #11

Using tools for development, such as WSPBuilder, STSDEV, or VSeWSS, is a great way to speed up development, but not a great way to learn SharePoint development.
Start developing without these tools to learn how to create features, solutions, webparts, and event handlers, before you turn to tools to automate the process for you. This way [...]

Posted under Developer

This post was written by spotd on April 15, 2009

Tags: