<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: MS MVC: Blocks Refactored</title>
	<link>http://abombss.com/blog/2008/01/17/ms-mvc-blocks-refactored/</link>
	<description>Abstract &#38;&#38; Concrete</description>
	<pubDate>Mon, 08 Sep 2008 08:25:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: Adam Tybor</title>
		<link>http://abombss.com/blog/2008/01/17/ms-mvc-blocks-refactored/#comment-5830</link>
		<author>Adam Tybor</author>
		<pubDate>Fri, 11 Apr 2008 14:50:25 +0000</pubDate>
		<guid>http://abombss.com/blog/2008/01/17/ms-mvc-blocks-refactored/#comment-5830</guid>
		<description>@Tim
It should be in MVC-Contrib code.  Jeremy Skinner ported it some time back when we were working on the UI stuff.

http://mvccontrib.googlecode.com/svn/trunk/src/MVCContrib/UI/CapturingResponseFilter.cs</description>
		<content:encoded><![CDATA[<p>@Tim<br />
It should be in MVC-Contrib code.  Jeremy Skinner ported it some time back when we were working on the UI stuff.</p>
<p><a href="http://mvccontrib.googlecode.com/svn/trunk/src/MVCContrib/UI/CapturingResponseFilter.cs" rel="nofollow" onclick="javascript:pageTracker._trackPageview('/outbound/comment/mvccontrib.googlecode.com');">http://mvccontrib.googlecode.com/svn/trunk/src/MVCContrib/UI/CapturingResponseFilter.cs</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Hardy</title>
		<link>http://abombss.com/blog/2008/01/17/ms-mvc-blocks-refactored/#comment-4890</link>
		<author>Tim Hardy</author>
		<pubDate>Mon, 31 Mar 2008 01:33:54 +0000</pubDate>
		<guid>http://abombss.com/blog/2008/01/17/ms-mvc-blocks-refactored/#comment-4890</guid>
		<description>Do you have an implementation for CapturingResponseFilter that I can get the source for?  I'd like to try out your implementation.

Thanks.</description>
		<content:encoded><![CDATA[<p>Do you have an implementation for CapturingResponseFilter that I can get the source for?  I&#8217;d like to try out your implementation.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Tybor</title>
		<link>http://abombss.com/blog/2008/01/17/ms-mvc-blocks-refactored/#comment-290</link>
		<author>Adam Tybor</author>
		<pubDate>Mon, 21 Jan 2008 17:28:09 +0000</pubDate>
		<guid>http://abombss.com/blog/2008/01/17/ms-mvc-blocks-refactored/#comment-290</guid>
		<description>@Joe
Not quite.  We need to flush the IHttpResponse so any garbage in its buffers gets written out before we start capturing, and then a second time, so anything in the buffers during the capture is flushed out through our filter.

HttpResponse does not implement IDisposable and if it did the using case isn't valid because we are not trying to dispose of the response, we just need to ensure we are capturing all the data without any previous data that could have been sitting in the buffer.</description>
		<content:encoded><![CDATA[<p>@Joe<br />
Not quite.  We need to flush the IHttpResponse so any garbage in its buffers gets written out before we start capturing, and then a second time, so anything in the buffers during the capture is flushed out through our filter.</p>
<p>HttpResponse does not implement IDisposable and if it did the using case isn&#8217;t valid because we are not trying to dispose of the response, we just need to ensure we are capturing all the data without any previous data that could have been sitting in the buffer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Ocampo</title>
		<link>http://abombss.com/blog/2008/01/17/ms-mvc-blocks-refactored/#comment-278</link>
		<author>Joe Ocampo</author>
		<pubDate>Mon, 21 Jan 2008 07:59:55 +0000</pubDate>
		<guid>http://abombss.com/blog/2008/01/17/ms-mvc-blocks-refactored/#comment-278</guid>
		<description>&#62;The only thing to remember is to flush current response before and after you capture the text.

Sounds like you could wrap this in a using block to avoid the explicit calling of resp.Flush.</description>
		<content:encoded><![CDATA[<p>&gt;The only thing to remember is to flush current response before and after you capture the text.</p>
<p>Sounds like you could wrap this in a using block to avoid the explicit calling of resp.Flush.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Haacked</title>
		<link>http://abombss.com/blog/2008/01/17/ms-mvc-blocks-refactored/#comment-183</link>
		<author>Haacked</author>
		<pubDate>Fri, 18 Jan 2008 06:55:03 +0000</pubDate>
		<guid>http://abombss.com/blog/2008/01/17/ms-mvc-blocks-refactored/#comment-183</guid>
		<description>No prob. Glad I could help. That's pretty nifty.</description>
		<content:encoded><![CDATA[<p>No prob. Glad I could help. That&#8217;s pretty nifty.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
