Patrick\’s Bytes

11, April 2008

Disposing resources for SharePoint developers

Filed under: Sharepoint — patrickyong @ 4:07 am

Although SharePoint 3.0/ 2007 (MOSS and WSS) is built on top of ASP.NET 2.0, there are still connection to unmanaged COM+ codes inside. Whenever you programmably playing around with SharePoint APIs, remember to dispose the SharePoint object instance.

Roger Lamb’s blog post here has very details explanation on this subject even it has been mentioned again and again before.

http://blogs.msdn.com/rogerla/archive/2008/02/12/sharepoint-2007-and-wss-3-0-dispose-patterns-by-example.aspx

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: