<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
  <channel>
    <title>DotNetKicks.com - Stories tagged with dispose</title>
    <description>the latest stories tagged with 'dispose' from DotNetKicks.com</description>
    <link>http://www.dotnetkicks.com/</link>
    <language>en-us</language>
    <copyright>Atweb Publishing Ltd.</copyright>
    <docs>http://backend.userland.com/rss</docs>
    <generator>DotNetKicks.com - .NET links, community driven</generator>
    <ttl>30</ttl>
    <item>
      <title>What If I Don't Call Dispose() on my LINQ to SQL DataContext Object?</title>
      <description>Steven Walther recently posted on the subject of disposing of DataContext objects and provided some interesting insight into what actually happens.  From what he says it sounds like the DataContext object acts much like the SqlDataAdapter class.  It opens the connection right before a query is executed and closes it immediately after.  I don't want to steal Steven's thunder so check out his post on the subject (the last part of the article talks about the consequences.or lack of consequences.of not calling Dispose()).   &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fweblogs.asp.net%2fdwahlin%2farchive%2f2008%2f08%2f19%2fwhat-if-i-don-t-call-dispose-on-my-linq-to-sql-datacontext-object.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fweblogs.asp.net%2fdwahlin%2farchive%2f2008%2f08%2f19%2fwhat-if-i-don-t-call-dispose-on-my-linq-to-sql-datacontext-object.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/clr/What_If_I_Don_t_Call_Dispose_on_my_LINQ_to_SQL_DataContext_Object</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/clr/What_If_I_Don_t_Call_Dispose_on_my_LINQ_to_SQL_DataContext_Object</guid>
      <pubDate>Wed, 20 Aug 2008 22:05:41 GMT</pubDate>
    </item>
    <item>
      <title>CA1816 - Dispose Pattern</title>
      <description>Warning CA1816 : Microsoft.Usage : Change 'xxx.Dispose()' to call 'GC.SuppressFinalize(object)'. This will prevent unnecessary finalization of the object once it has been disposed and it has fallen out of scope. 

 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fdotnethitman.spaces.live.com%2fblog%2fcns!E149A8B1E1C25B14!123.entry"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fdotnethitman.spaces.live.com%2fblog%2fcns!E149A8B1E1C25B14!123.entry" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/csharp/CA1816_Dispose_Pattern</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/csharp/CA1816_Dispose_Pattern</guid>
      <pubDate>Tue, 06 May 2008 04:15:27 GMT</pubDate>
    </item>
    <item>
      <title>Things you MUST dispose</title>
      <description>When the .NET Framework instantiates an object, it allocates memory for that object on the managed heap. The object remains on the heap until it's no longer referenced by any active code, at which point the memory it's using is reclamed by the Garbage Collector (GC). Before the GC deallocates the memory, the framework calls the object's Finalize() method, but developers are responsible for calling the Dispose() method. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fdotnetfacts.blogspot.com%2f2008%2f03%2fthings-you-must-dispose.html"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fdotnetfacts.blogspot.com%2f2008%2f03%2fthings-you-must-dispose.html" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/tipsandtricks/Things_you_MUST_dispose</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/tipsandtricks/Things_you_MUST_dispose</guid>
      <pubDate>Wed, 02 Apr 2008 08:46:02 GMT</pubDate>
    </item>
  </channel>
</rss>