<?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 for idisposable.co.uk</title>
	<atom:link href="http://idisposable.co.uk/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://idisposable.co.uk</link>
	<description>Throwaway thoughts from a .net developer</description>
	<lastBuildDate>Thu, 05 Aug 2010 12:44:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>Comment on Chrome &#8211; are you sanitising my inputs without my permission? by Rich</title>
		<link>http://idisposable.co.uk/2010/07/chrome-are-you-sanitising-my-inputs-without-my-permission/comment-page-1/#comment-280</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Thu, 05 Aug 2010 12:44:03 +0000</pubDate>
		<guid isPermaLink="false">http://idisposable.co.uk/2010/07/chrome-are-you-sanitising-my-inputs-without-my-permission/#comment-280</guid>
		<description>I&#039;ve got *exactly* the same problem with the DataCash post. Darn Chrome! Grrrr....</description>
		<content:encoded><![CDATA[<p>I&#8217;ve got *exactly* the same problem with the DataCash post. Darn Chrome! Grrrr&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Chrome &#8211; are you sanitising my inputs without my permission? by Reevesy</title>
		<link>http://idisposable.co.uk/2010/07/chrome-are-you-sanitising-my-inputs-without-my-permission/comment-page-1/#comment-278</link>
		<dc:creator>Reevesy</dc:creator>
		<pubDate>Tue, 27 Jul 2010 11:14:44 +0000</pubDate>
		<guid isPermaLink="false">http://idisposable.co.uk/2010/07/chrome-are-you-sanitising-my-inputs-without-my-permission/#comment-278</guid>
		<description>Hi

I blogged about this a while back here 

http://www.jsfblog.info/2010/03/3d-secure-and-the-pareq-field-in-google-chrome-safari-browsers/

The textarea seems to be working a treat for us as we been in production with it for a few months.</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>I blogged about this a while back here </p>
<p><a href="http://www.jsfblog.info/2010/03/3d-secure-and-the-pareq-field-in-google-chrome-safari-browsers/" rel="nofollow">http://www.jsfblog.info/2010/03/3d-secure-and-the-pareq-field-in-google-chrome-safari-browsers/</a></p>
<p>The textarea seems to be working a treat for us as we been in production with it for a few months.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Overriding ToString() on your objects using reflection by admin</title>
		<link>http://idisposable.co.uk/2010/07/overriding-tostring-on-your-objects-using-reflection/comment-page-1/#comment-277</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 20 Jul 2010 10:04:49 +0000</pubDate>
		<guid isPermaLink="false">http://idisposable.co.uk/?p=119#comment-277</guid>
		<description>hey Ryan,

Thanks for the reply!  I&#039;ve base classed it and used reflection so that it can cover more than one object.  It works on User, but I also have Transactions (purchases), + a lot of other Dto objects.

So long as all of my Dto objects inherit from this BaseDto, I have a ToString method that will enumerate through all of the properties.

You&#039;re absolutely right - if I&#039;d just been dealing with one object (User) then coming up with something specific would have been more elegant, faster, and avoided the use of reflection, though I needed something generic that could handle pretty much any of my Dto objects (I have about 30) and output it in a useful format, hence the reflection and the base classing.

Hope that helps.

Cheers,
Terry</description>
		<content:encoded><![CDATA[<p>hey Ryan,</p>
<p>Thanks for the reply!  I&#8217;ve base classed it and used reflection so that it can cover more than one object.  It works on User, but I also have Transactions (purchases), + a lot of other Dto objects.</p>
<p>So long as all of my Dto objects inherit from this BaseDto, I have a ToString method that will enumerate through all of the properties.</p>
<p>You&#8217;re absolutely right &#8211; if I&#8217;d just been dealing with one object (User) then coming up with something specific would have been more elegant, faster, and avoided the use of reflection, though I needed something generic that could handle pretty much any of my Dto objects (I have about 30) and output it in a useful format, hence the reflection and the base classing.</p>
<p>Hope that helps.</p>
<p>Cheers,<br />
Terry</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Overriding ToString() on your objects using reflection by Ryan Tomlinson</title>
		<link>http://idisposable.co.uk/2010/07/overriding-tostring-on-your-objects-using-reflection/comment-page-1/#comment-276</link>
		<dc:creator>Ryan Tomlinson</dc:creator>
		<pubDate>Tue, 20 Jul 2010 09:48:32 +0000</pubDate>
		<guid isPermaLink="false">http://idisposable.co.uk/?p=119#comment-276</guid>
		<description>Hi Terry,

I&#039;m not sure I see why you are creating a base class when the exception appears to be specifically for the user business object (unless I have read this wrong).

Is there any reason why you couldn&#039;t just keep things simpler by passing the user object to the exception object and have the exception parse the user object and populate the Data of the exception?

This would reduce complexity and remove the need for reflection.

Ryan</description>
		<content:encoded><![CDATA[<p>Hi Terry,</p>
<p>I&#8217;m not sure I see why you are creating a base class when the exception appears to be specifically for the user business object (unless I have read this wrong).</p>
<p>Is there any reason why you couldn&#8217;t just keep things simpler by passing the user object to the exception object and have the exception parse the user object and populate the Data of the exception?</p>
<p>This would reduce complexity and remove the need for reflection.</p>
<p>Ryan</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Chrome &#8211; are you sanitising my inputs without my permission? by admin</title>
		<link>http://idisposable.co.uk/2010/07/chrome-are-you-sanitising-my-inputs-without-my-permission/comment-page-1/#comment-275</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 14 Jul 2010 15:47:01 +0000</pubDate>
		<guid isPermaLink="false">http://idisposable.co.uk/2010/07/chrome-are-you-sanitising-my-inputs-without-my-permission/#comment-275</guid>
		<description>unbelievable eh!  Sack the juggler that let that one through the door from UAT!</description>
		<content:encoded><![CDATA[<p>unbelievable eh!  Sack the juggler that let that one through the door from UAT!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Chrome &#8211; are you sanitising my inputs without my permission? by Duncan Smart</title>
		<link>http://idisposable.co.uk/2010/07/chrome-are-you-sanitising-my-inputs-without-my-permission/comment-page-1/#comment-274</link>
		<dc:creator>Duncan Smart</dc:creator>
		<pubDate>Wed, 14 Jul 2010 15:17:18 +0000</pubDate>
		<guid isPermaLink="false">http://idisposable.co.uk/2010/07/chrome-are-you-sanitising-my-inputs-without-my-permission/#comment-274</guid>
		<description>Did a quick test, and it looks like yes Chrome is trimming trailing CRLFs! You can add them with JavaScript and it maintains them (e.g. &quot;if PaReq field doesn&#039;t end with &#039;\r\n&#039; then append &#039;\r\n&#039;&quot;)</description>
		<content:encoded><![CDATA[<p>Did a quick test, and it looks like yes Chrome is trimming trailing CRLFs! You can add them with JavaScript and it maintains them (e.g. &#8220;if PaReq field doesn&#8217;t end with &#8216;\r\n&#8217; then append &#8216;\r\n&#8217;&#8221;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Chrome &#8211; are you sanitising my inputs without my permission? by Duncan Smart</title>
		<link>http://idisposable.co.uk/2010/07/chrome-are-you-sanitising-my-inputs-without-my-permission/comment-page-1/#comment-273</link>
		<dc:creator>Duncan Smart</dc:creator>
		<pubDate>Wed, 14 Jul 2010 13:28:04 +0000</pubDate>
		<guid isPermaLink="false">http://idisposable.co.uk/2010/07/chrome-are-you-sanitising-my-inputs-without-my-permission/#comment-273</guid>
		<description>View source can&#039;t be relied upon, as FF and Chrome show you what the parsed DOM thinks it has - not necessarily the actual text that was sent. Of course this may be the crux of your problem: that these CRLFs are being &quot;normalised&quot; out of the form field. In any case use Fiddler to see what&#039;s really going back and forth: espcecially in the POST to the 3rd party service.</description>
		<content:encoded><![CDATA[<p>View source can&#8217;t be relied upon, as FF and Chrome show you what the parsed DOM thinks it has &#8211; not necessarily the actual text that was sent. Of course this may be the crux of your problem: that these CRLFs are being &#8220;normalised&#8221; out of the form field. In any case use Fiddler to see what&#8217;s really going back and forth: espcecially in the POST to the 3rd party service.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Chrome &#8211; are you sanitising my inputs without my permission? by Tweets that mention Chrome – are you sanitising my inputs without my permission? -- Topsy.com</title>
		<link>http://idisposable.co.uk/2010/07/chrome-are-you-sanitising-my-inputs-without-my-permission/comment-page-1/#comment-272</link>
		<dc:creator>Tweets that mention Chrome – are you sanitising my inputs without my permission? -- Topsy.com</dc:creator>
		<pubDate>Wed, 14 Jul 2010 12:45:06 +0000</pubDate>
		<guid isPermaLink="false">http://idisposable.co.uk/2010/07/chrome-are-you-sanitising-my-inputs-without-my-permission/#comment-272</guid>
		<description>[...] This post was mentioned on Twitter by Terry Brown, Terry Brown. Terry Brown said: Chrome – are you sanitising my inputs without my permission? http://goo.gl/fb/arTtf [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by Terry Brown, Terry Brown. Terry Brown said: Chrome – are you sanitising my inputs without my permission? <a href="http://goo.gl/fb/arTtf" rel="nofollow">http://goo.gl/fb/arTtf</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Overriding ToString() on your objects using reflection by admin</title>
		<link>http://idisposable.co.uk/2010/07/overriding-tostring-on-your-objects-using-reflection/comment-page-1/#comment-271</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 13 Jul 2010 15:31:41 +0000</pubDate>
		<guid isPermaLink="false">http://idisposable.co.uk/?p=119#comment-271</guid>
		<description>hey mate,

I only ran it through single passes of generation as opposed to the 10k/100k repetations I&#039;d done previously, and it seemed to make bugger all difference (&gt;0.1ms).

My hope is with these, they&#039;re only really called when something has gone wrong (system exceptions as opposed to business exceptions) so they should hopefully only be hit ~100-200 times per day (on a 70k visitor count).

We&#039;re in the process of setting up a dev environment that we can simulate hits on, so I&#039;ll hopefully blog about the outcomes of that with the new infrastructure soon!

Cheers :)</description>
		<content:encoded><![CDATA[<p>hey mate,</p>
<p>I only ran it through single passes of generation as opposed to the 10k/100k repetations I&#8217;d done previously, and it seemed to make bugger all difference (&gt;0.1ms).</p>
<p>My hope is with these, they&#8217;re only really called when something has gone wrong (system exceptions as opposed to business exceptions) so they should hopefully only be hit ~100-200 times per day (on a 70k visitor count).</p>
<p>We&#8217;re in the process of setting up a dev environment that we can simulate hits on, so I&#8217;ll hopefully blog about the outcomes of that with the new infrastructure soon!</p>
<p>Cheers <img src='http://idisposable.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Overriding ToString() on your objects using reflection by Tim Mather</title>
		<link>http://idisposable.co.uk/2010/07/overriding-tostring-on-your-objects-using-reflection/comment-page-1/#comment-270</link>
		<dc:creator>Tim Mather</dc:creator>
		<pubDate>Tue, 13 Jul 2010 14:54:10 +0000</pubDate>
		<guid isPermaLink="false">http://idisposable.co.uk/?p=119#comment-270</guid>
		<description>Hi Tez,

I like it, used to do something similar when logging exceptions on an old system, it didn&#039;t use reflection but the Model classes all had a DataTable property that meant I could go through columns in the DataTable and spit out the state of the object in exactly the same way. I know from your previous post you were bothered about performance, does reflection have much of a hit on what your doing?

Thanks

Tim</description>
		<content:encoded><![CDATA[<p>Hi Tez,</p>
<p>I like it, used to do something similar when logging exceptions on an old system, it didn&#8217;t use reflection but the Model classes all had a DataTable property that meant I could go through columns in the DataTable and spit out the state of the object in exactly the same way. I know from your previous post you were bothered about performance, does reflection have much of a hit on what your doing?</p>
<p>Thanks</p>
<p>Tim</p>
]]></content:encoded>
	</item>
</channel>
</rss>
