Logo 
Search:

MOSS Link

Submit a Link
Home » Links » MOSSRSS Feeds

SharePoint 2007 and WSS 3.0 Dispose Patterns by Example

  Shared By: Marquise Farley    Date: Jun 15   Category: MOSS    Views: 1994

Windows SharePoint Services (WSS 3.0) and Microsoft Office SharePoint Server (MOSS 2007) have some gotchas with serious implications that every SharePoint application developer needs to be intimately familiar with before deploying into production MOSS 2007 farms. In particular, Microsoft.SharePoint.SPSite , Microsoft.SharePoint.SPWeb , and the often overlooked (MOSS 2007) Microsoft.SharePoint.Publishing objects need to be carefully examined and disposed of properly in order to avoid potential memory leaks. My original objective with this blog post was to consolidate several different reliable sources compiled by Microsoft's top Subject Matter Experts (SME’s) into a Uber-Dispose quick reference which could be used to increase developer awareness of the current Microsoft Guidance. I’ve been working closely with the SharePoint Product Group as well as the top Microsoft Support and Services SME’s to help carve out the information you see here. I plan to keep this blog post updated with the latest official guidance from Microsoft and while there are more verbose resources available elsewhere the primary objective is to provide lots of samples in a quick reference format. Pre-requisites: The intended audience for this guidance is a seasoned .NET developer who currently is or will be developing custom SharePoint solutions with Visual Studio 2005/2008.

Share: 
 

No Answers Found. Be the First, To Post Answer.

 

Didn't find what you were looking for? Find more on SharePoint 2007 and WSS 3.0 Dispose Patterns by Example Or get search suggestion and latest updates.


Your Review Comment
  • Review should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

Tagged: