<?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 hardcodet.net</title>
	<atom:link href="http://www.hardcodet.net/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hardcodet.net</link>
	<description>Confessions of a Code Addict</description>
	<pubDate>Thu, 11 Mar 2010 04:36:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Using Attached Properties to Create a WPF Image Button by Philipp Sumi</title>
		<link>http://www.hardcodet.net/2009/01/create-wpf-image-button-through-attached-properties/comment-page-1#comment-1098</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Wed, 10 Mar 2010 08:32:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=223#comment-1098</guid>
		<description>This should work regardless the implementation language (after all, after compilation, it's just IL), and you can easily link to the compiled C# class. I assume it has to do with the reference, but given I don't even have the VB parts on my system, I won't be of much help I'm afraid.</description>
		<content:encoded><![CDATA[<p>This should work regardless the implementation language (after all, after compilation, it&#8217;s just IL), and you can easily link to the compiled C# class. I assume it has to do with the reference, but given I don&#8217;t even have the VB parts on my system, I won&#8217;t be of much help I&#8217;m afraid.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Attached Properties to Create a WPF Image Button by Jaydev</title>
		<link>http://www.hardcodet.net/2009/01/create-wpf-image-button-through-attached-properties/comment-page-1#comment-1097</link>
		<dc:creator>Jaydev</dc:creator>
		<pubDate>Wed, 10 Mar 2010 07:46:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=223#comment-1097</guid>
		<description>Can this be implemented in VB.Net as I am not used to C# syntax.

the EyeCandy class declarations are not found in VB.net, Please help on this.</description>
		<content:encoded><![CDATA[<p>Can this be implemented in VB.Net as I am not used to C# syntax.</p>
<p>the EyeCandy class declarations are not found in VB.net, Please help on this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Lightweight Task Scheduling Library for .NET / Silverlight by Philipp Sumi</title>
		<link>http://www.hardcodet.net/2010/01/lightweight-task-slash-job-scheduling-with-silverlight-support/comment-page-1#comment-1087</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Mon, 08 Mar 2010 14:11:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=727#comment-1087</guid>
		<description>I wrote down a few thoughts in the section "Persisting Jobs". I would recommend you to initialize your jobs during application initialization based on your individual business logic, and possible reschedule (by creating new jobs) as necessary.
You could even have a sort of "controller instance" that is responsible for scheduling your jobs being invoked by a job itself - in the end, it depends on your individual needs.</description>
		<content:encoded><![CDATA[<p>I wrote down a few thoughts in the section &#8220;Persisting Jobs&#8221;. I would recommend you to initialize your jobs during application initialization based on your individual business logic, and possible reschedule (by creating new jobs) as necessary.<br />
You could even have a sort of &#8220;controller instance&#8221; that is responsible for scheduling your jobs being invoked by a job itself - in the end, it depends on your individual needs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Lightweight Task Scheduling Library for .NET / Silverlight by rm</title>
		<link>http://www.hardcodet.net/2010/01/lightweight-task-slash-job-scheduling-with-silverlight-support/comment-page-1#comment-1086</link>
		<dc:creator>rm</dc:creator>
		<pubDate>Mon, 08 Mar 2010 13:09:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=727#comment-1086</guid>
		<description>Hi Phillip, 

very interestign job you have here :)

I need something like that but to schedule workflow from a data base... in diferent periods of time.. 

some suggest?

thanks i will now look at your sample with more attention</description>
		<content:encoded><![CDATA[<p>Hi Phillip, </p>
<p>very interestign job you have here <img src='http://www.hardcodet.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I need something like that but to schedule workflow from a data base&#8230; in diferent periods of time.. </p>
<p>some suggest?</p>
<p>thanks i will now look at your sample with more attention</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simplify Time Measurement in Tests and Debug Code by Alastair Maw</title>
		<link>http://www.hardcodet.net/2009/02/timeguard-helper-class-to-measure-elapsed-time/comment-page-1#comment-1083</link>
		<dc:creator>Alastair Maw</dc:creator>
		<pubDate>Wed, 03 Mar 2010 11:32:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2009/02/timeguard-helper-class-to-measure-elapsed-time#comment-1083</guid>
		<description>Simone's already observed that you should use StopWatch (and she's right). However, if you're going to stick with DateTime.Now you should really switch it to DateTime.UtcNow. The non-UTC version is hideously slow (use Reflector to look at the code it manages to end up invoking if you don't believe me).</description>
		<content:encoded><![CDATA[<p>Simone&#8217;s already observed that you should use StopWatch (and she&#8217;s right). However, if you&#8217;re going to stick with DateTime.Now you should really switch it to DateTime.UtcNow. The non-UTC version is hideously slow (use Reflector to look at the code it manages to end up invoking if you don&#8217;t believe me).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Windows Live Writer: Plug-ins to Format Content through CSS Classes by Philipp Sumi</title>
		<link>http://www.hardcodet.net/2009/09/live-writer-plugins-to-format-content-through-css-classes/comment-page-1#comment-1078</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Fri, 26 Feb 2010 11:53:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=637#comment-1078</guid>
		<description>Jason,

No, this is currently not a priority for me - I'm busy with some other projects.

However: Note that for the plug-in itself, there's no notion of a Stylesheet (or the style sheet's formatting instructions). The plug-in only only maintains class *names*. After an import, the class names of the stylesheet have just been added to the internal list of classes and the plug-in does not know or care where the class names came from.

This means, that if you have similar stylesheets (same class names) on your blogs, your list of classes in the plug-in will work just fine for both blogs no matter which of the stylesheets you imported.</description>
		<content:encoded><![CDATA[<p>Jason,</p>
<p>No, this is currently not a priority for me - I&#8217;m busy with some other projects.</p>
<p>However: Note that for the plug-in itself, there&#8217;s no notion of a Stylesheet (or the style sheet&#8217;s formatting instructions). The plug-in only only maintains class *names*. After an import, the class names of the stylesheet have just been added to the internal list of classes and the plug-in does not know or care where the class names came from.</p>
<p>This means, that if you have similar stylesheets (same class names) on your blogs, your list of classes in the plug-in will work just fine for both blogs no matter which of the stylesheets you imported.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Remote File Access in VFS using OpenRasta &#8211; Part 1 (Introduction) by Philipp Sumi</title>
		<link>http://www.hardcodet.net/2010/02/remote-file-access-in-vfs-part-1/comment-page-1#comment-1077</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Fri, 26 Feb 2010 11:45:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=775#comment-1077</guid>
		<description>Hi there

I'm currently busy with a customer's project so the next part is delayed a few days, but I can give you access to the sources. An S3 provider would be most welcome - I already created a Contrib project on CodePlex. [everthing else on direct mail]</description>
		<content:encoded><![CDATA[<p>Hi there</p>
<p>I&#8217;m currently busy with a customer&#8217;s project so the next part is delayed a few days, but I can give you access to the sources. An S3 provider would be most welcome - I already created a Contrib project on CodePlex. [everthing else on direct mail]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Remote File Access in VFS using OpenRasta &#8211; Part 1 (Introduction) by jbland</title>
		<link>http://www.hardcodet.net/2010/02/remote-file-access-in-vfs-part-1/comment-page-1#comment-1076</link>
		<dc:creator>jbland</dc:creator>
		<pubDate>Thu, 25 Feb 2010 19:41:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=775#comment-1076</guid>
		<description>How goes this ? Im gonna need to use something like this soon, but i need S3 as well as local support. i may just spike this and try to add in S3 support myself...</description>
		<content:encoded><![CDATA[<p>How goes this ? Im gonna need to use something like this soon, but i need S3 as well as local support. i may just spike this and try to add in S3 support myself&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Windows Live Writer: Plug-ins to Format Content through CSS Classes by Jason</title>
		<link>http://www.hardcodet.net/2009/09/live-writer-plugins-to-format-content-through-css-classes/comment-page-1#comment-1075</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Wed, 24 Feb 2010 03:44:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=637#comment-1075</guid>
		<description>Philipp,

Any plans to do something like that?  Or is there a simple way to purge the imported style sheet?
Jason

&lt;a href="#comment-1073" rel="nofollow"&gt;@Philipp Sumi&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Philipp,</p>
<p>Any plans to do something like that?  Or is there a simple way to purge the imported style sheet?<br />
Jason</p>
<p><a href="#comment-1073" rel="nofollow">@Philipp Sumi</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Windows Live Writer: Plug-ins to Format Content through CSS Classes by Philipp Sumi</title>
		<link>http://www.hardcodet.net/2009/09/live-writer-plugins-to-format-content-through-css-classes/comment-page-1#comment-1073</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Mon, 22 Feb 2010 16:22:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=637#comment-1073</guid>
		<description>Jason,

No, the plug-in does not know the notion of individual style sheets - internally, it just maintains a simple list of CSS class names. You can of course import multiple style sheets, but will end up with a merged list of classes.</description>
		<content:encoded><![CDATA[<p>Jason,</p>
<p>No, the plug-in does not know the notion of individual style sheets - internally, it just maintains a simple list of CSS class names. You can of course import multiple style sheets, but will end up with a merged list of classes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Windows Live Writer: Plug-ins to Format Content through CSS Classes by Jason Egan</title>
		<link>http://www.hardcodet.net/2009/09/live-writer-plugins-to-format-content-through-css-classes/comment-page-1#comment-1072</link>
		<dc:creator>Jason Egan</dc:creator>
		<pubDate>Mon, 22 Feb 2010 16:18:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=637#comment-1072</guid>
		<description>Philipp,

Is it possible to use plugin2 to have multiple css definitions?  I have several different blogs with different style sheets - so it would be nice that when I'm working on one blog it's styles are available but not when working on a different blog, for example.

Thanks!
Jason</description>
		<content:encoded><![CDATA[<p>Philipp,</p>
<p>Is it possible to use plugin2 to have multiple css definitions?  I have several different blogs with different style sheets - so it would be nice that when I&#8217;m working on one blog it&#8217;s styles are available but not when working on a different blog, for example.</p>
<p>Thanks!<br />
Jason</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on REST Client Library for Silverlight by This Week in REST – Volume 4 (Feb 15 2010 – Feb 21 2010) &#171; This week in REST</title>
		<link>http://www.hardcodet.net/2010/02/wcf-rest-starter-kit-for-silverlight/comment-page-1#comment-1071</link>
		<dc:creator>This Week in REST – Volume 4 (Feb 15 2010 – Feb 21 2010) &#171; This week in REST</dc:creator>
		<pubDate>Mon, 22 Feb 2010 09:03:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2010/02/wcf-rest-starter-kit-for-silverlight#comment-1071</guid>
		<description>[...] RESTful (more like resource-oriented) in the PHP framework Codeigniter (by Philip Sturgeon) REST Client Library for Silverlight &#8211; Port of the client libraries of the WCF REST Starter Kit to Silverlight (by Philipp Sumi) [...]</description>
		<content:encoded><![CDATA[<p>[...] RESTful (more like resource-oriented) in the PHP framework Codeigniter (by Philip Sturgeon) REST Client Library for Silverlight &#8211; Port of the client libraries of the WCF REST Starter Kit to Silverlight (by Philipp Sumi) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Moving WPF DataGrid Rows using Drag and Drop by Miky</title>
		<link>http://www.hardcodet.net/2009/03/moving-data-grid-rows-using-drag-and-drop/comment-page-1#comment-1068</link>
		<dc:creator>Miky</dc:creator>
		<pubDate>Sun, 21 Feb 2010 00:30:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=304#comment-1068</guid>
		<description>Many thanks for this great tutorial !
Saved me many hours !

Thank you.</description>
		<content:encoded><![CDATA[<p>Many thanks for this great tutorial !<br />
Saved me many hours !</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A GetResponse Extension for Synchronized Web Requests in Silverlight by Fallon Massey</title>
		<link>http://www.hardcodet.net/2010/02/blocking-httpwebrequest-getresponse-for-silverlight/comment-page-1#comment-1067</link>
		<dc:creator>Fallon Massey</dc:creator>
		<pubDate>Sat, 20 Feb 2010 01:24:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2010/02/blocking-httpwebrequest-getresponse-for-silverlight#comment-1067</guid>
		<description>Duh... I found this article first(on the web), and didn't see the starter kit.

Thanks!</description>
		<content:encoded><![CDATA[<p>Duh&#8230; I found this article first(on the web), and didn&#8217;t see the starter kit.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A GetResponse Extension for Synchronized Web Requests in Silverlight by Philipp Sumi</title>
		<link>http://www.hardcodet.net/2010/02/blocking-httpwebrequest-getresponse-for-silverlight/comment-page-1#comment-1066</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Sat, 20 Feb 2010 00:20:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2010/02/blocking-httpwebrequest-getresponse-for-silverlight#comment-1066</guid>
		<description>&lt;a href="#comment-1065" rel="nofollow"&gt;@Fallon Massey&lt;/a&gt; 
Fallon,
You can easily POST from Silverlight with my Silverlight port of the REST start kit:

http://www.hardcodet.net/2010/02/wcf-rest-starter-kit-for-silverlight</description>
		<content:encoded><![CDATA[<p><a href="#comment-1065" rel="nofollow">@Fallon Massey</a><br />
Fallon,<br />
You can easily POST from Silverlight with my Silverlight port of the REST start kit:</p>
<p><a href="http://www.hardcodet.net/2010/02/wcf-rest-starter-kit-for-silverlight"  rel="nofollow">http://www.hardcodet.net/2010/02/wcf-rest-starter-kit-for-silverlight</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A GetResponse Extension for Synchronized Web Requests in Silverlight by Fallon Massey</title>
		<link>http://www.hardcodet.net/2010/02/blocking-httpwebrequest-getresponse-for-silverlight/comment-page-1#comment-1065</link>
		<dc:creator>Fallon Massey</dc:creator>
		<pubDate>Fri, 19 Feb 2010 20:50:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2010/02/blocking-httpwebrequest-getresponse-for-silverlight#comment-1065</guid>
		<description>This is GREAT stuff, and I have only one question.

Is it possible to use this technique to POST data to the server?

I can't seem to make that work.

Thanks.</description>
		<content:encoded><![CDATA[<p>This is GREAT stuff, and I have only one question.</p>
<p>Is it possible to use this technique to POST data to the server?</p>
<p>I can&#8217;t seem to make that work.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on REST Client Library for Silverlight by Bob</title>
		<link>http://www.hardcodet.net/2010/02/wcf-rest-starter-kit-for-silverlight/comment-page-1#comment-1055</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Tue, 16 Feb 2010 01:24:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2010/02/wcf-rest-starter-kit-for-silverlight#comment-1055</guid>
		<description>Thanks Phiipp, I look forward to it - but I think my problem is not necessarily related to the kit itself.  I am trying to access a web service that is running on my local machine in IIS, but I get an HRESULT 0x80000012 HttpStageProcessingException.  I was having a similar problem when I was using WebClient and trying access my service via http://localhost/...  Moving my service to IIS and referencing it via machine name cleared it up then, but I am having no such luck this time and I am not sure if you have seen this before.
Thanks again,
Bob</description>
		<content:encoded><![CDATA[<p>Thanks Phiipp, I look forward to it - but I think my problem is not necessarily related to the kit itself.  I am trying to access a web service that is running on my local machine in IIS, but I get an HRESULT 0&#215;80000012 HttpStageProcessingException.  I was having a similar problem when I was using WebClient and trying access my service via <a href="http://localhost/.." onclick="javascript:pageTracker._trackPageview('/outbound/comment/localhost');" rel="nofollow">http://localhost/..</a>.  Moving my service to IIS and referencing it via machine name cleared it up then, but I am having no such luck this time and I am not sure if you have seen this before.<br />
Thanks again,<br />
Bob</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on REST Client Library for Silverlight by hardcodet.net &#187; Remote File Access in VFS using OpenRasta &#8211; Part 1 (Introduction)</title>
		<link>http://www.hardcodet.net/2010/02/wcf-rest-starter-kit-for-silverlight/comment-page-1#comment-1054</link>
		<dc:creator>hardcodet.net &#187; Remote File Access in VFS using OpenRasta &#8211; Part 1 (Introduction)</dc:creator>
		<pubDate>Mon, 15 Feb 2010 23:22:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2010/02/wcf-rest-starter-kit-for-silverlight#comment-1054</guid>
		<description>[...] the client side, the WCF REST Starter Kit was used for both .NET and Silverlight clients (the Silverlight library hacked together by myself). The starter kit’s client libraries allow for simple access to RESTful [...]</description>
		<content:encoded><![CDATA[<p>[...] the client side, the WCF REST Starter Kit was used for both .NET and Silverlight clients (the Silverlight library hacked together by myself). The starter kit’s client libraries allow for simple access to RESTful [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on REST Client Library for Silverlight by Philipp Sumi</title>
		<link>http://www.hardcodet.net/2010/02/wcf-rest-starter-kit-for-silverlight/comment-page-1#comment-1053</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Mon, 15 Feb 2010 21:40:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2010/02/wcf-rest-starter-kit-for-silverlight#comment-1053</guid>
		<description>Bob,

I'll be releasing a few bits on VFS and a few tutorials around the subject that will also show off RESTful data access from Silverlight, but in the mean time, just have a look for Starter Kit tutorials (especialls the covering the HttpClient class). Those aren't SL tutorials, but you should be able to use the code 1:1.

Cheers!</description>
		<content:encoded><![CDATA[<p>Bob,</p>
<p>I&#8217;ll be releasing a few bits on VFS and a few tutorials around the subject that will also show off RESTful data access from Silverlight, but in the mean time, just have a look for Starter Kit tutorials (especialls the covering the HttpClient class). Those aren&#8217;t SL tutorials, but you should be able to use the code 1:1.</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on REST Client Library for Silverlight by Bob</title>
		<link>http://www.hardcodet.net/2010/02/wcf-rest-starter-kit-for-silverlight/comment-page-1#comment-1052</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Mon, 15 Feb 2010 20:41:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2010/02/wcf-rest-starter-kit-for-silverlight#comment-1052</guid>
		<description>Hey Philipp, thank you for posting this...do you have a sample app using this code by any chance?  I have tried it in a couple different scenarios and I am running into some trouble.
Thanks again,
Bob</description>
		<content:encoded><![CDATA[<p>Hey Philipp, thank you for posting this&#8230;do you have a sample app using this code by any chance?  I have tried it in a couple different scenarios and I am running into some trouble.<br />
Thanks again,<br />
Bob</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A GetResponse Extension for Synchronized Web Requests in Silverlight by Philipp Sumi</title>
		<link>http://www.hardcodet.net/2010/02/blocking-httpwebrequest-getresponse-for-silverlight/comment-page-1#comment-1045</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Thu, 11 Feb 2010 18:48:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2010/02/blocking-httpwebrequest-getresponse-for-silverlight#comment-1045</guid>
		<description>Richard,

This was an intentional choice. I was considering using ManualResetEvents, but decided to keep the (slightly redundant) AutoResetEvent anyway.

Although a reset is not needed, it doesn't hurt, and feels like a good choice from an architectural point of view: If there *was* subsequent requests, we we wouldn't want them to pass, but lock the handle as soon as we processed a response (which is something I did before I wrote that extension). Accordingly, the automatic reset might save people quite some headache if they decide to refactor the method and reuse the WaitHandle.</description>
		<content:encoded><![CDATA[<p>Richard,</p>
<p>This was an intentional choice. I was considering using ManualResetEvents, but decided to keep the (slightly redundant) AutoResetEvent anyway.</p>
<p>Although a reset is not needed, it doesn&#8217;t hurt, and feels like a good choice from an architectural point of view: If there *was* subsequent requests, we we wouldn&#8217;t want them to pass, but lock the handle as soon as we processed a response (which is something I did before I wrote that extension). Accordingly, the automatic reset might save people quite some headache if they decide to refactor the method and reuse the WaitHandle.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A GetResponse Extension for Synchronized Web Requests in Silverlight by Richard</title>
		<link>http://www.hardcodet.net/2010/02/blocking-httpwebrequest-getresponse-for-silverlight/comment-page-1#comment-1044</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Thu, 11 Feb 2010 18:40:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2010/02/blocking-httpwebrequest-getresponse-for-silverlight#comment-1044</guid>
		<description>OK, I didn't realize that an AutoResetEvent isn't reset until something waits for it. I need to pay closer attention to the documentation!

"When signaled, the EventWaitHandle resets automatically after releasing a single thread. If no threads are waiting, the EventWaitHandle remains signaled until a thread blocks, and resets after releasing the thread."

I still think a ManualResetEvent would be a marginally better choice, since the event never needs to be reset.</description>
		<content:encoded><![CDATA[<p>OK, I didn&#8217;t realize that an AutoResetEvent isn&#8217;t reset until something waits for it. I need to pay closer attention to the documentation!</p>
<p>&#8220;When signaled, the EventWaitHandle resets automatically after releasing a single thread. If no threads are waiting, the EventWaitHandle remains signaled until a thread blocks, and resets after releasing the thread.&#8221;</p>
<p>I still think a ManualResetEvent would be a marginally better choice, since the event never needs to be reset.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A GetResponse Extension for Synchronized Web Requests in Silverlight by Philipp Sumi</title>
		<link>http://www.hardcodet.net/2010/02/blocking-httpwebrequest-getresponse-for-silverlight/comment-page-1#comment-1043</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Thu, 11 Feb 2010 17:56:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2010/02/blocking-httpwebrequest-getresponse-for-silverlight#comment-1043</guid>
		<description>&lt;a href="#comment-1042" rel="nofollow"&gt;@Richard&lt;/a&gt; 
The handle would have been signalled, but only reset with WaitOne passing. Which means that WaitOne would pass immediately, wouldn't it?

Here's a little snippet to illustrate the behavior:

&lt;pre&gt;
   &lt;br/&gt;
    public void TestHandle()
    {
      AutoResetEvent wh = new AutoResetEvent(false);

      ThreadPool.QueueUserWorkItem((s) =&gt;
        {
          Console.Out.WriteLine("setting wait handle...");
          wh.Set();
        });
      

      Thread.Sleep(1000);

      Console.Out.WriteLine("entering wait");
      wh.WaitOne(9000); //will exit immediately
      Console.Out.WriteLine("Finished");
    }&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p><a href="#comment-1042" rel="nofollow">@Richard</a><br />
The handle would have been signalled, but only reset with WaitOne passing. Which means that WaitOne would pass immediately, wouldn&#8217;t it?</p>
<p>Here&#8217;s a little snippet to illustrate the behavior:</p>
<pre>
   
    public void TestHandle()
    {
      AutoResetEvent wh = new AutoResetEvent(false);

      ThreadPool.QueueUserWorkItem((s) =>
        {
          Console.Out.WriteLine("setting wait handle...");
          wh.Set();
        });

      Thread.Sleep(1000);

      Console.Out.WriteLine("entering wait");
      wh.WaitOne(9000); //will exit immediately
      Console.Out.WriteLine("Finished");
    }</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A GetResponse Extension for Synchronized Web Requests in Silverlight by Richard</title>
		<link>http://www.hardcodet.net/2010/02/blocking-httpwebrequest-getresponse-for-silverlight/comment-page-1#comment-1042</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Thu, 11 Feb 2010 17:41:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2010/02/blocking-httpwebrequest-getresponse-for-silverlight#comment-1042</guid>
		<description>Would it not be better to use a ManualResetEvent? If the request completes between the "if (asyncResult.CompletedSynchronously)" test and the "waitHandle.WaitOne" call, the AutoResetEvent will have been signalled and reset, and the WaitOne call will time out.</description>
		<content:encoded><![CDATA[<p>Would it not be better to use a ManualResetEvent? If the request completes between the &#8220;if (asyncResult.CompletedSynchronously)&#8221; test and the &#8220;waitHandle.WaitOne&#8221; call, the AutoResetEvent will have been signalled and reset, and the WaitOne call will time out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A GetResponse Extension for Synchronized Web Requests in Silverlight by John Sheehan</title>
		<link>http://www.hardcodet.net/2010/02/blocking-httpwebrequest-getresponse-for-silverlight/comment-page-1#comment-1041</link>
		<dc:creator>John Sheehan</dc:creator>
		<pubDate>Wed, 10 Feb 2010 16:42:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2010/02/blocking-httpwebrequest-getresponse-for-silverlight#comment-1041</guid>
		<description>Great, thanks!</description>
		<content:encoded><![CDATA[<p>Great, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A GetResponse Extension for Synchronized Web Requests in Silverlight by Philipp Sumi</title>
		<link>http://www.hardcodet.net/2010/02/blocking-httpwebrequest-getresponse-for-silverlight/comment-page-1#comment-1040</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Wed, 10 Feb 2010 16:36:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2010/02/blocking-httpwebrequest-getresponse-for-silverlight#comment-1040</guid>
		<description>I've taken the snippet from VFS, which is MS-PL but feel free to use it under RestSharp's Apache license. Btw - the SL REST client library contains the full class, which also has a GetRequestStream extension for HttpRequest.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve taken the snippet from VFS, which is MS-PL but feel free to use it under RestSharp&#8217;s Apache license. Btw - the SL REST client library contains the full class, which also has a GetRequestStream extension for HttpRequest.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A GetResponse Extension for Synchronized Web Requests in Silverlight by John Sheehan</title>
		<link>http://www.hardcodet.net/2010/02/blocking-httpwebrequest-getresponse-for-silverlight/comment-page-1#comment-1039</link>
		<dc:creator>John Sheehan</dc:creator>
		<pubDate>Wed, 10 Feb 2010 16:30:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2010/02/blocking-httpwebrequest-getresponse-for-silverlight#comment-1039</guid>
		<description>I'd like to use this in RestSharp (http://github.com/johnsheehan/RestSharp). Can you tell me what the license is for this code?</description>
		<content:encoded><![CDATA[<p>I&#8217;d like to use this in RestSharp (http://github.com/johnsheehan/RestSharp). Can you tell me what the license is for this code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on REST Client Library for Silverlight by Philipp Sumi</title>
		<link>http://www.hardcodet.net/2010/02/wcf-rest-starter-kit-for-silverlight/comment-page-1#comment-1038</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Wed, 10 Feb 2010 16:10:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2010/02/wcf-rest-starter-kit-for-silverlight#comment-1038</guid>
		<description>Only the client bits that need to run under Silverlight are included. The full starter kit (which is not SL compatible) is available via CodePlex, of course.</description>
		<content:encoded><![CDATA[<p>Only the client bits that need to run under Silverlight are included. The full starter kit (which is not SL compatible) is available via CodePlex, of course.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on REST Client Library for Silverlight by John Sheehan</title>
		<link>http://www.hardcodet.net/2010/02/wcf-rest-starter-kit-for-silverlight/comment-page-1#comment-1037</link>
		<dc:creator>John Sheehan</dc:creator>
		<pubDate>Wed, 10 Feb 2010 16:08:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2010/02/wcf-rest-starter-kit-for-silverlight#comment-1037</guid>
		<description>Where is the source for the WCF REST Toolkit? Is it included in the download?</description>
		<content:encoded><![CDATA[<p>Where is the source for the WCF REST Toolkit? Is it included in the download?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WPF NotifyIcon by Jang</title>
		<link>http://www.hardcodet.net/projects/wpf-notifyicon/comment-page-2#comment-1035</link>
		<dc:creator>Jang</dc:creator>
		<pubDate>Tue, 09 Feb 2010 02:39:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?page_id=452#comment-1035</guid>
		<description>ContextMenu was used. 
And, ContextMenu was used Command. 
But ContextMenu was Disabled.
How to use the ContextMenu and Command?</description>
		<content:encoded><![CDATA[<p>ContextMenu was used.<br />
And, ContextMenu was used Command.<br />
But ContextMenu was Disabled.<br />
How to use the ContextMenu and Command?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
