<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: LINQ to SQL log to debug window, file, memory or multiple writers</title>
	<atom:link href="http://damieng.com/blog/2008/07/30/linq-to-sql-log-to-debug-window-file-memory-or-multiple-writers/feed" rel="self" type="application/rss+xml" />
	<link>http://damieng.com/blog/2008/07/30/linq-to-sql-log-to-debug-window-file-memory-or-multiple-writers?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=linq-to-sql-log-to-debug-window-file-memory-or-multiple-writers</link>
	<description>A .NET developer in silicon valley</description>
	<lastBuildDate>Fri, 18 May 2012 15:31:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Karl</title>
		<link>http://damieng.com/blog/2008/07/30/linq-to-sql-log-to-debug-window-file-memory-or-multiple-writers#comment-46400</link>
		<dc:creator>Karl</dc:creator>
		<pubDate>Fri, 09 Sep 2011 11:46:18 +0000</pubDate>
		<guid isPermaLink="false">http://damieng.com/blog/2008/07/30/linq-to-sql-log-to-debug-window-file-memory-or-multiple-writers#comment-46400</guid>
		<description>Yes, great article. I had spent most of yesterday playing around with SQL Profiler just to end up with the same result as this solution only less conveniently.

Thanks very much.</description>
		<content:encoded><![CDATA[<p>Yes, great article. I had spent most of yesterday playing around with SQL Profiler just to end up with the same result as this solution only less conveniently.</p>
<p>Thanks very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emir</title>
		<link>http://damieng.com/blog/2008/07/30/linq-to-sql-log-to-debug-window-file-memory-or-multiple-writers#comment-43911</link>
		<dc:creator>Emir</dc:creator>
		<pubDate>Sun, 02 Jan 2011 15:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://damieng.com/blog/2008/07/30/linq-to-sql-log-to-debug-window-file-memory-or-multiple-writers#comment-43911</guid>
		<description>Hi,
This is excellent article.
I used your class ActionTextWritter to track progress of the ctx.SubmitChanges()

http://epandzo.wordpress.com/2011/01/02/linq-to-sql-ctx-submitchanges-progress/</description>
		<content:encoded><![CDATA[<p>Hi,<br />
This is excellent article.<br />
I used your class ActionTextWritter to track progress of the ctx.SubmitChanges()</p>
<p><a href="http://epandzo.wordpress.com/2011/01/02/linq-to-sql-ctx-submitchanges-progress/" rel="nofollow">http://epandzo.wordpress.com/2011/01/02/linq-to-sql-ctx-submitchanges-progress/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Debugging Linq To Sql &#124; OOP - Object Oriented Programing</title>
		<link>http://damieng.com/blog/2008/07/30/linq-to-sql-log-to-debug-window-file-memory-or-multiple-writers#comment-41839</link>
		<dc:creator>Debugging Linq To Sql &#124; OOP - Object Oriented Programing</dc:creator>
		<pubDate>Tue, 18 May 2010 05:19:56 +0000</pubDate>
		<guid isPermaLink="false">http://damieng.com/blog/2008/07/30/linq-to-sql-log-to-debug-window-file-memory-or-multiple-writers#comment-41839</guid>
		<description>[...] After staring at the Sql Profiler, I still needed more information.&#160; Why was a select being done on my entire database?&#160; Where was this coming from?&#160; That led me back to my DataContext which was generated from my Linq To Sql designer.&#160; The DataContext has a great feature &#8211; &#8220;Log&#8221;.&#160; It&#8217;s a property right off of the context which accepts a TextWriter.&#160; When you attach a TextWriter, it will output useful information to the stream.&#160; In my case, I attached the log to the Debug window.&#160; I found some great examples of how to do this (and use other output mechanisms) on DamienGuard&#8217;s blog [...]</description>
		<content:encoded><![CDATA[<p>[...] After staring at the Sql Profiler, I still needed more information.&nbsp; Why was a select being done on my entire database?&nbsp; Where was this coming from?&nbsp; That led me back to my DataContext which was generated from my Linq To Sql designer.&nbsp; The DataContext has a great feature &#8211; &#8220;Log&#8221;.&nbsp; It&#8217;s a property right off of the context which accepts a TextWriter.&nbsp; When you attach a TextWriter, it will output useful information to the stream.&nbsp; In my case, I attached the log to the Debug window.&nbsp; I found some great examples of how to do this (and use other output mechanisms) on DamienGuard&#8217;s blog [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thiago leite</title>
		<link>http://damieng.com/blog/2008/07/30/linq-to-sql-log-to-debug-window-file-memory-or-multiple-writers#comment-32309</link>
		<dc:creator>Thiago leite</dc:creator>
		<pubDate>Fri, 11 Dec 2009 16:59:25 +0000</pubDate>
		<guid isPermaLink="false">http://damieng.com/blog/2008/07/30/linq-to-sql-log-to-debug-window-file-memory-or-multiple-writers#comment-32309</guid>
		<description>These are very cool and useful. Thanks for sharing.</description>
		<content:encoded><![CDATA[<p>These are very cool and useful. Thanks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David DeWinter &#187; LINQ to SQL: Updating Entities</title>
		<link>http://damieng.com/blog/2008/07/30/linq-to-sql-log-to-debug-window-file-memory-or-multiple-writers#comment-14027</link>
		<dc:creator>David DeWinter &#187; LINQ to SQL: Updating Entities</dc:creator>
		<pubDate>Wed, 08 Apr 2009 04:15:57 +0000</pubDate>
		<guid isPermaLink="false">http://damieng.com/blog/2008/07/30/linq-to-sql-log-to-debug-window-file-memory-or-multiple-writers#comment-14027</guid>
		<description>[...] for your queries, set the DataContext.Log property to Console.Out. Alternatively, you can try a few other listeners, courtesy of Damien [...]</description>
		<content:encoded><![CDATA[<p>[...] for your queries, set the DataContext.Log property to Console.Out. Alternatively, you can try a few other listeners, courtesy of Damien [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LOG LINQ 2 SQL query execution to console/debug window &#171; {Programming} &#38; Life</title>
		<link>http://damieng.com/blog/2008/07/30/linq-to-sql-log-to-debug-window-file-memory-or-multiple-writers#comment-10735</link>
		<dc:creator>LOG LINQ 2 SQL query execution to console/debug window &#171; {Programming} &#38; Life</dc:creator>
		<pubDate>Wed, 31 Dec 2008 00:35:25 +0000</pubDate>
		<guid isPermaLink="false">http://damieng.com/blog/2008/07/30/linq-to-sql-log-to-debug-window-file-memory-or-multiple-writers#comment-10735</guid>
		<description>[...] thanks to DamienG over at his blog!     &#171; Gearing up WCF services to [...]</description>
		<content:encoded><![CDATA[<p>[...] thanks to DamienG over at his blog!     &laquo; Gearing up WCF services to [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Smit</title>
		<link>http://damieng.com/blog/2008/07/30/linq-to-sql-log-to-debug-window-file-memory-or-multiple-writers#comment-10118</link>
		<dc:creator>Smit</dc:creator>
		<pubDate>Wed, 05 Nov 2008 20:25:40 +0000</pubDate>
		<guid isPermaLink="false">http://damieng.com/blog/2008/07/30/linq-to-sql-log-to-debug-window-file-memory-or-multiple-writers#comment-10118</guid>
		<description>How do I also log the parameter values?</description>
		<content:encoded><![CDATA[<p>How do I also log the parameter values?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hilton Giesenow</title>
		<link>http://damieng.com/blog/2008/07/30/linq-to-sql-log-to-debug-window-file-memory-or-multiple-writers#comment-9124</link>
		<dc:creator>Hilton Giesenow</dc:creator>
		<pubDate>Fri, 08 Aug 2008 08:05:23 +0000</pubDate>
		<guid isPermaLink="false">http://damieng.com/blog/2008/07/30/linq-to-sql-log-to-debug-window-file-memory-or-multiple-writers#comment-9124</guid>
		<description>Some great tips, thanks! I&#039;ll definitely make use of some of these. One small addition that you could include is logging to the ASP.NET response output stream: http://dotnet.org.za/hiltong/archive/2008/07/16/displaying-linq-to-sql-s-actual-sql-queries-in-your-asp-net-page.aspx</description>
		<content:encoded><![CDATA[<p>Some great tips, thanks! I&#8217;ll definitely make use of some of these. One small addition that you could include is logging to the ASP.NET response output stream: <a href="http://dotnet.org.za/hiltong/archive/2008/07/16/displaying-linq-to-sql-s-actual-sql-queries-in-your-asp-net-page.aspx" rel="nofollow">http://dotnet.org.za/hiltong/archive/2008/07/16/displaying-linq-to-sql-s-actual-sql-queries-in-your-asp-net-page.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Logging LINQ To SQL Queries - Hilton Giesenow&#39;s Jumbled Mind</title>
		<link>http://damieng.com/blog/2008/07/30/linq-to-sql-log-to-debug-window-file-memory-or-multiple-writers#comment-9123</link>
		<dc:creator>Logging LINQ To SQL Queries - Hilton Giesenow&#39;s Jumbled Mind</dc:creator>
		<pubDate>Fri, 08 Aug 2008 08:02:48 +0000</pubDate>
		<guid isPermaLink="false">http://damieng.com/blog/2008/07/30/linq-to-sql-log-to-debug-window-file-memory-or-multiple-writers#comment-9123</guid>
		<description>[...] LINQ To SQL output to the ASP.NET response stream. Damien Guard has an even better post on logging to all kinds of places, including multiple writers. Share this post: email it! &#124; bookmark it! &#124; digg it! &#124; reddit! &#124; kick it! &#124; live it!  Posted: Aug [...]</description>
		<content:encoded><![CDATA[<p>[...] LINQ To SQL output to the ASP.NET response stream. Damien Guard has an even better post on logging to all kinds of places, including multiple writers. Share this post: email it! | bookmark it! | digg it! | reddit! | kick it! | live it!  Posted: Aug [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

