<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments for Sidar Ok Technical Blog !</title>
	<link>http://www.sidarok.com/web/blog</link>
	<description>still believes in coding to make dreams come true</description>
	<pubDate>Sat, 04 Feb 2012 19:31:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.3</generator>

	<item>
		<title>Comment on 10 Tips to Improve your LINQ to SQL Application Performance by Sidar Ok</title>
		<link>http://www.sidarok.com/web/blog/content/2008/05/02/10-tips-to-improve-your-linq-to-sql-application-performance.html#comment-39312</link>
		<dc:creator>Sidar Ok</dc:creator>
		<pubDate>Tue, 24 Jan 2012 15:34:31 +0000</pubDate>
		<guid>http://www.sidarok.com/web/blog/content/2008/05/02/10-tips-to-improve-your-linq-to-sql-application-performance.html#comment-39312</guid>
		<description>No it is not a good practice to use singleton for Linq2SqL because it is not very expensive to create and dispose the data context yet the data context has to be thought as a unit of work - do what you have to do and dispose it.</description>
		<content:encoded><![CDATA[<p>No it is not a good practice to use singleton for Linq2SqL because it is not very expensive to create and dispose the data context yet the data context has to be thought as a unit of work - do what you have to do and dispose it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 10 Tips to Improve your LINQ to SQL Application Performance by Kevin Wils</title>
		<link>http://www.sidarok.com/web/blog/content/2008/05/02/10-tips-to-improve-your-linq-to-sql-application-performance.html#comment-38340</link>
		<dc:creator>Kevin Wils</dc:creator>
		<pubDate>Thu, 05 Jan 2012 09:58:24 +0000</pubDate>
		<guid>http://www.sidarok.com/web/blog/content/2008/05/02/10-tips-to-improve-your-linq-to-sql-application-performance.html#comment-38340</guid>
		<description>Hi,

Is it a good thing to make use a singleton for a linq context?
Or is this otiose?
For example:

        mmbMainDataContext mainCtx;

        private mmbMainDataContext MainCtx 
        {
            get
            {
                if (mainCtx == null)
                    mainCtx = new mmbMainDataContext();

                return mainCtx;
            }
        }

        protected void btn_generateSiteMaps_Click(object sender, EventArgs e)
        {
            using (MainCtx)
            {
                foreach (var item in MainCtx.tbl_websites)
                {
                    generateSitemap(item.dealerCode, "http://" + item.dnsName, item.languages);
                }    
            }
        }

Thanks for the interesting tips!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Is it a good thing to make use a singleton for a linq context?<br />
Or is this otiose?<br />
For example:</p>
<p>        mmbMainDataContext mainCtx;</p>
<p>        private mmbMainDataContext MainCtx<br />
        {<br />
            get<br />
            {<br />
                if (mainCtx == null)<br />
                    mainCtx = new mmbMainDataContext();</p>
<p>                return mainCtx;<br />
            }<br />
        }</p>
<p>        protected void btn_generateSiteMaps_Click(object sender, EventArgs e)<br />
        {<br />
            using (MainCtx)<br />
            {<br />
                foreach (var item in MainCtx.tbl_websites)<br />
                {<br />
                    generateSitemap(item.dealerCode, &#8220;http://&#8221; + item.dnsName, item.languages);<br />
                }<br />
            }<br />
        }</p>
<p>Thanks for the interesting tips!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Brief Introduction to LINQ to SQL by Guadalupe Girsh</title>
		<link>http://www.sidarok.com/web/blog/content/2008/04/21/a-brief-introduction-to-linq-to-sql.html#comment-34590</link>
		<dc:creator>Guadalupe Girsh</dc:creator>
		<pubDate>Tue, 01 Nov 2011 00:11:32 +0000</pubDate>
		<guid>http://www.sidarok.com/web/blog/content/2008/04/21/a-brief-introduction-to-linq-to-sql.html#comment-34590</guid>
		<description>Hi. I needed to drop you a quick note to impart my thanks. I've been watching your webpage for a month or so and have picked up a heap of sound information as well as enjoyed the way you've structured your article. I am setting about to run my own webpage however I think its too general and I would like to focus more on smaller topics.</description>
		<content:encoded><![CDATA[<p>Hi. I needed to drop you a quick note to impart my thanks. I&#8217;ve been watching your webpage for a month or so and have picked up a heap of sound information as well as enjoyed the way you&#8217;ve structured your article. I am setting about to run my own webpage however I think its too general and I would like to focus more on smaller topics.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Brief Introduction to LINQ to SQL by Varun Maggo</title>
		<link>http://www.sidarok.com/web/blog/content/2008/04/21/a-brief-introduction-to-linq-to-sql.html#comment-33636</link>
		<dc:creator>Varun Maggo</dc:creator>
		<pubDate>Mon, 03 Oct 2011 09:55:24 +0000</pubDate>
		<guid>http://www.sidarok.com/web/blog/content/2008/04/21/a-brief-introduction-to-linq-to-sql.html#comment-33636</guid>
		<description>thanks bro

varunmaggo</description>
		<content:encoded><![CDATA[<p>thanks bro</p>
<p>varunmaggo</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 10 Tips to Improve your LINQ to SQL Application Performance by Sunil K Patil,Indore</title>
		<link>http://www.sidarok.com/web/blog/content/2008/05/02/10-tips-to-improve-your-linq-to-sql-application-performance.html#comment-33280</link>
		<dc:creator>Sunil K Patil,Indore</dc:creator>
		<pubDate>Thu, 22 Sep 2011 15:43:33 +0000</pubDate>
		<guid>http://www.sidarok.com/web/blog/content/2008/05/02/10-tips-to-improve-your-linq-to-sql-application-performance.html#comment-33280</guid>
		<description>Excellent job done.</description>
		<content:encoded><![CDATA[<p>Excellent job done.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 10 Tips to Improve your LINQ to SQL Application Performance by mak</title>
		<link>http://www.sidarok.com/web/blog/content/2008/05/02/10-tips-to-improve-your-linq-to-sql-application-performance.html#comment-32549</link>
		<dc:creator>mak</dc:creator>
		<pubDate>Thu, 01 Sep 2011 14:40:18 +0000</pubDate>
		<guid>http://www.sidarok.com/web/blog/content/2008/05/02/10-tips-to-improve-your-linq-to-sql-application-performance.html#comment-32549</guid>
		<description>great dude..
thanks ....
it help great.....</description>
		<content:encoded><![CDATA[<p>great dude..<br />
thanks &#8230;.<br />
it help great&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 10 Tips to Improve your LINQ to SQL Application Performance by mojtaba pourmirzaei</title>
		<link>http://www.sidarok.com/web/blog/content/2008/05/02/10-tips-to-improve-your-linq-to-sql-application-performance.html#comment-31713</link>
		<dc:creator>mojtaba pourmirzaei</dc:creator>
		<pubDate>Thu, 11 Aug 2011 07:53:32 +0000</pubDate>
		<guid>http://www.sidarok.com/web/blog/content/2008/05/02/10-tips-to-improve-your-linq-to-sql-application-performance.html#comment-31713</guid>
		<description>thanks item 4 and 7 solve my problems
Iran</description>
		<content:encoded><![CDATA[<p>thanks item 4 and 7 solve my problems<br />
Iran</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Lazy Loading with Linq to SQL POCO s by Onur</title>
		<link>http://www.sidarok.com/web/blog/content/2008/10/29/lazy-loading-with-linq-to-sql-poco-s.html#comment-31482</link>
		<dc:creator>Onur</dc:creator>
		<pubDate>Sat, 06 Aug 2011 12:05:47 +0000</pubDate>
		<guid>http://www.sidarok.com/web/blog/content/2008/10/29/lazy-loading-with-linq-to-sql-poco-s.html#comment-31482</guid>
		<description>hocam gunlerdir 

entity imde bulunan

public virtual IList ActAreaList { get; set; } degiskenini serialize etmek icin ugrasiyorum nasil yapabilirim?

Aldigim hata ise su sekilde:

Cannot serialize member [...].ActAreaList of type System.Collections.Generic.IList`1[[[...].ActArea, [...], Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] because it is an interface. 

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.</description>
		<content:encoded><![CDATA[<p>hocam gunlerdir </p>
<p>entity imde bulunan</p>
<p>public virtual IList ActAreaList { get; set; } degiskenini serialize etmek icin ugrasiyorum nasil yapabilirim?</p>
<p>Aldigim hata ise su sekilde:</p>
<p>Cannot serialize member [&#8230;].ActAreaList of type System.Collections.Generic.IList`1[[[&#8230;].ActArea, [&#8230;], Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] because it is an interface. </p>
<p>Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 10 Tips to Improve your LINQ to SQL Application Performance by Hugo</title>
		<link>http://www.sidarok.com/web/blog/content/2008/05/02/10-tips-to-improve-your-linq-to-sql-application-performance.html#comment-30450</link>
		<dc:creator>Hugo</dc:creator>
		<pubDate>Wed, 13 Jul 2011 07:27:14 +0000</pubDate>
		<guid>http://www.sidarok.com/web/blog/content/2008/05/02/10-tips-to-improve-your-linq-to-sql-application-performance.html#comment-30450</guid>
		<description>Awesomeness ! Bookmark that!</description>
		<content:encoded><![CDATA[<p>Awesomeness ! Bookmark that!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 10 Tips to Improve your LINQ to SQL Application Performance by Sunil P</title>
		<link>http://www.sidarok.com/web/blog/content/2008/05/02/10-tips-to-improve-your-linq-to-sql-application-performance.html#comment-28203</link>
		<dc:creator>Sunil P</dc:creator>
		<pubDate>Wed, 25 May 2011 04:38:00 +0000</pubDate>
		<guid>http://www.sidarok.com/web/blog/content/2008/05/02/10-tips-to-improve-your-linq-to-sql-application-performance.html#comment-28203</guid>
		<description>Excellent article... some tips really helped to improve performance of my app</description>
		<content:encoded><![CDATA[<p>Excellent article&#8230; some tips really helped to improve performance of my app</p>
]]></content:encoded>
	</item>
</channel>
</rss>

