<?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>Tue, 09 Feb 2010 13:30:58 +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 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>
	<item>
		<title>Comment on WCF REST Client Library for Silverlight by DotNetShoutout</title>
		<link>http://www.hardcodet.net/2010/02/wcf-rest-starter-kit-for-silverlight/comment-page-1#comment-1033</link>
		<dc:creator>DotNetShoutout</dc:creator>
		<pubDate>Mon, 08 Feb 2010 18:26:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2010/02/wcf-rest-starter-kit-for-silverlight#comment-1033</guid>
		<description>&lt;strong&gt;WCF REST Client Libraries for Silverlight...&lt;/strong&gt;

Thank you for submitting this cool story - Trackback from DotNetShoutout...</description>
		<content:encoded><![CDATA[<p><strong>WCF REST Client Libraries for Silverlight&#8230;</strong></p>
<p>Thank you for submitting this cool story - Trackback from DotNetShoutout&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Finding an ancestor of a WPF dependency object by Andrei</title>
		<link>http://www.hardcodet.net/2008/02/find-wpf-parent/comment-page-1#comment-1031</link>
		<dc:creator>Andrei</dc:creator>
		<pubDate>Sun, 07 Feb 2010 20:51:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2008/02/find-wpf-parent#comment-1031</guid>
		<description>Good article. I don't understand why in WPF isnt't as simple as it is in C# to find the ancestor of an element. In c# is very easy to write this.Parent.Parent, but in WPF is too complicated..</description>
		<content:encoded><![CDATA[<p>Good article. I don&#8217;t understand why in WPF isnt&#8217;t as simple as it is in C# to find the ancestor of an element. In c# is very easy to write this.Parent.Parent, but in WPF is too complicated..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Convert WCF Service Exceptions into Faults using Lambdas by Philipp Sumi</title>
		<link>http://www.hardcodet.net/2009/12/convert-service-exceptions-to-wcf-faults/comment-page-1#comment-1025</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Mon, 01 Feb 2010 23:45:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2009/12/convert-service-exceptions-to-wcf-faults#comment-1025</guid>
		<description>Genaro

There is no helpers class - my implementation is basically the same snippet as above, with the difference that it handles exceptions (and creates faults) that are specific to my application.

However, I find myself applying this pattern in more and more situations (not only WCF, but everywhere I just want to make sure proper exception handling is made). For example in order to log an exception before rethrowing it again:
&lt;br/&gt;

&lt;pre&gt;
&lt;br/&gt;
//deviation of the pattern that logs every
//exception before rethrowing it (simplified)
public static T SecureFunc&lt;T&gt;(Func&lt;T&gt; func)
{
  try
  {
    return func();
  }
  catch (Exception e)
  {
    LoggerService.GetLogger().Error(e);
    throw;
  }
}
&lt;pre&gt;</description>
		<content:encoded><![CDATA[<p>Genaro</p>
<p>There is no helpers class - my implementation is basically the same snippet as above, with the difference that it handles exceptions (and creates faults) that are specific to my application.</p>
<p>However, I find myself applying this pattern in more and more situations (not only WCF, but everywhere I just want to make sure proper exception handling is made). For example in order to log an exception before rethrowing it again:<br />
</p>
<pre>

//deviation of the pattern that logs every
//exception before rethrowing it (simplified)
public static T SecureFunc&lt;T>(Func&lt;T> func)
{
  try
  {
    return func();
  }
  catch (Exception e)
  {
    LoggerService.GetLogger().Error(e);
    throw;
  }
}
</pre>
<pre></pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Convert WCF Service Exceptions into Faults using Lambdas by Genaro Picazo</title>
		<link>http://www.hardcodet.net/2009/12/convert-service-exceptions-to-wcf-faults/comment-page-1#comment-1024</link>
		<dc:creator>Genaro Picazo</dc:creator>
		<pubDate>Mon, 01 Feb 2010 23:39:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2009/12/convert-service-exceptions-to-wcf-faults#comment-1024</guid>
		<description>Hi Philipp,

will you be making your FaultException helpers available for download?</description>
		<content:encoded><![CDATA[<p>Hi Philipp,</p>
<p>will you be making your FaultException helpers available for download?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WPF NotifyIcon by Philipp Sumi</title>
		<link>http://www.hardcodet.net/projects/wpf-notifyicon/comment-page-2#comment-1021</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Sat, 30 Jan 2010 15:19:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?page_id=452#comment-1021</guid>
		<description>&lt;a href="#comment-1020" rel="nofollow"&gt;@arj&lt;/a&gt; 
CodeProject Open License (CPOL)</description>
		<content:encoded><![CDATA[<p><a href="#comment-1020" rel="nofollow">@arj</a><br />
CodeProject Open License (CPOL)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WPF NotifyIcon by arj</title>
		<link>http://www.hardcodet.net/projects/wpf-notifyicon/comment-page-2#comment-1020</link>
		<dc:creator>arj</dc:creator>
		<pubDate>Sat, 30 Jan 2010 10:59:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?page_id=452#comment-1020</guid>
		<description>License?</description>
		<content:encoded><![CDATA[<p>License?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WPF NotifyIcon by Philipp Sumi</title>
		<link>http://www.hardcodet.net/projects/wpf-notifyicon/comment-page-2#comment-1013</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Wed, 27 Jan 2010 09:51:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?page_id=452#comment-1013</guid>
		<description>&lt;a href="#comment-1012" rel="nofollow"&gt;@RS&lt;/a&gt; 

You can easily declare the control in code:
&lt;br/&gt;

&lt;pre&gt;
TaskbarIcon tbi = new TaskbarIcon();
tbi.Icon = Resources.Error;
tbi.ToolTipText = "hello world";
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p><a href="#comment-1012" rel="nofollow">@RS</a> </p>
<p>You can easily declare the control in code:<br />
</p>
<pre>
TaskbarIcon tbi = new TaskbarIcon();
tbi.Icon = Resources.Error;
tbi.ToolTipText = "hello world";
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WPF NotifyIcon by RS</title>
		<link>http://www.hardcodet.net/projects/wpf-notifyicon/comment-page-2#comment-1012</link>
		<dc:creator>RS</dc:creator>
		<pubDate>Tue, 26 Jan 2010 21:44:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?page_id=452#comment-1012</guid>
		<description>Simple question: how to use the notify icon without putting this into the window.
My use case - only what I have is the application.</description>
		<content:encoded><![CDATA[<p>Simple question: how to use the notify icon without putting this into the window.<br />
My use case - only what I have is the application.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Windows Live Writer: Plug-ins to Format Content through CSS Classes by lawvol</title>
		<link>http://www.hardcodet.net/2009/09/live-writer-plugins-to-format-content-through-css-classes/comment-page-1#comment-1009</link>
		<dc:creator>lawvol</dc:creator>
		<pubDate>Tue, 26 Jan 2010 02:35:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=637#comment-1009</guid>
		<description>&lt;a href="#comment-1008" rel="nofollow"&gt;@Philipp Sumi&lt;/a&gt; 
That's cool, I can't wait until we see a new version of WLW -- all the buzz has me anxious to see "Wave 4."

Nonetheless, thanks for making the plugin (and for managing to decipher my comment despite my inability to remember the tag for code snippets)</description>
		<content:encoded><![CDATA[<p><a href="#comment-1008" rel="nofollow">@Philipp Sumi</a><br />
That&#8217;s cool, I can&#8217;t wait until we see a new version of WLW &#8212; all the buzz has me anxious to see &#8220;Wave 4.&#8221;</p>
<p>Nonetheless, thanks for making the plugin (and for managing to decipher my comment despite my inability to remember the tag for code snippets)</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-1008</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Mon, 25 Jan 2010 23:03:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=637#comment-1008</guid>
		<description>Unfortunately not - the possibilities the plug-in API delivers are terribly limited. I can't even replace an existing CSS class through the API. Hope this will get better with a later version of Live Writer, but for now, that's all I can offer I'm afraid.</description>
		<content:encoded><![CDATA[<p>Unfortunately not - the possibilities the plug-in API delivers are terribly limited. I can&#8217;t even replace an existing CSS class through the API. Hope this will get better with a later version of Live Writer, but for now, that&#8217;s all I can offer I&#8217;m afraid.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Windows Live Writer: Plug-ins to Format Content through CSS Classes by Lawvol</title>
		<link>http://www.hardcodet.net/2009/09/live-writer-plugins-to-format-content-through-css-classes/comment-page-1#comment-1007</link>
		<dc:creator>Lawvol</dc:creator>
		<pubDate>Mon, 25 Jan 2010 22:58:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=637#comment-1007</guid>
		<description>This is a great plugin and I am so appreciative of you making this available.

One question, though, when I insert a class, it essentially inserts a "" tag for the class.  Is there a way to have it simply insert the class into the style that is already present?

For example if I were inserting the class "bar":
&lt;code&gt;content here&lt;/code&gt;
currently becomes:
&lt;code&gt;content here&lt;/code&gt;
is it possible to have it become:
&lt;code&gt;content here&lt;/code&gt;

Just curious.

Either way, thanks for developing this plugin -- a super help for me.</description>
		<content:encoded><![CDATA[<p>This is a great plugin and I am so appreciative of you making this available.</p>
<p>One question, though, when I insert a class, it essentially inserts a &#8220;&#8221; tag for the class.  Is there a way to have it simply insert the class into the style that is already present?</p>
<p>For example if I were inserting the class &#8220;bar&#8221;:<br />
<code>content here</code><br />
currently becomes:<br />
<code>content here</code><br />
is it possible to have it become:<br />
<code>content here</code></p>
<p>Just curious.</p>
<p>Either way, thanks for developing this plugin &#8212; a super help for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Simplistic Random String Generation Snippet by Richard</title>
		<link>http://www.hardcodet.net/2010/01/simple-random-strings/comment-page-1#comment-1005</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Mon, 25 Jan 2010 18:22:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2010/01/simple-random-strings#comment-1005</guid>
		<description>OK, the comments don't like less-than characters!

public static string GetRandomString(int length)
{
    if (0 &gt;= length) throw new ArgumentOutOfRangeException();

    const byte lower = 0x21;
    const byte upper = 0x7e;

    int resultIndex = 0;
    char[] result = new char[length];
    byte[] buffer = new byte[length];
    var rnd = RandomNumberGenerator.Create();

    while (resultIndex &lt; length)
    {
        rnd.GetNonZeroBytes(buffer);
        char[] temp = buffer.Where(b =&gt; lower &amp;lt= b &amp;&amp; b &lt;= upper).Select(b =&gt; (char)b).ToArray();
        if (0 != temp.Length)
        {
            int l = Math.Min(temp.Length, length - resultIndex);
            Array.Copy(temp, 0, result, resultIndex, l);
            resultIndex += l;
        }
    }

    return new String(result);
}</description>
		<content:encoded><![CDATA[<p>OK, the comments don&#8217;t like less-than characters!</p>
<p>public static string GetRandomString(int length)<br />
{<br />
    if (0 &gt;= length) throw new ArgumentOutOfRangeException();</p>
<p>    const byte lower = 0&#215;21;<br />
    const byte upper = 0&#215;7e;</p>
<p>    int resultIndex = 0;<br />
    char[] result = new char[length];<br />
    byte[] buffer = new byte[length];<br />
    var rnd = RandomNumberGenerator.Create();</p>
<p>    while (resultIndex &lt; length)<br />
    {<br />
        rnd.GetNonZeroBytes(buffer);<br />
        char[] temp = buffer.Where(b =&gt; lower &amp;lt= b &amp;&amp; b &lt;= upper).Select(b =&gt; (char)b).ToArray();<br />
        if (0 != temp.Length)<br />
        {<br />
            int l = Math.Min(temp.Length, length - resultIndex);<br />
            Array.Copy(temp, 0, result, resultIndex, l);<br />
            resultIndex += l;<br />
        }<br />
    }</p>
<p>    return new String(result);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Simplistic Random String Generation Snippet by Richard</title>
		<link>http://www.hardcodet.net/2010/01/simple-random-strings/comment-page-1#comment-1004</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Mon, 25 Jan 2010 18:21:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/2010/01/simple-random-strings#comment-1004</guid>
		<description>If you want a cryptographically secure random string, you should use the System.Security.Cryptography.RandomNumberGenerator class instead of the System.Random class:

public static string GetRandomString(int length)
{
    if (0 &gt;= length) throw new ArgumentOutOfRangeException();

    const byte lower = 0x21;
    const byte upper = 0x7e;

    int resultIndex = 0;
    char[] result = new char[length];
    byte[] buffer = new byte[length];
    var rnd = RandomNumberGenerator.Create();

    while (resultIndex  lower &lt;= b &amp;&amp; b  (char)b).ToArray();
        if (0 != temp.Length)
        {
            int l = Math.Min(temp.Length, length - resultIndex);
            Array.Copy(temp, 0, result, resultIndex, l);
            resultIndex += l;
        }
    }

    return new String(result);
}</description>
		<content:encoded><![CDATA[<p>If you want a cryptographically secure random string, you should use the System.Security.Cryptography.RandomNumberGenerator class instead of the System.Random class:</p>
<p>public static string GetRandomString(int length)<br />
{<br />
    if (0 &gt;= length) throw new ArgumentOutOfRangeException();</p>
<p>    const byte lower = 0&#215;21;<br />
    const byte upper = 0&#215;7e;</p>
<p>    int resultIndex = 0;<br />
    char[] result = new char[length];<br />
    byte[] buffer = new byte[length];<br />
    var rnd = RandomNumberGenerator.Create();</p>
<p>    while (resultIndex  lower &lt;= b &amp;&amp; b  (char)b).ToArray();<br />
        if (0 != temp.Length)<br />
        {<br />
            int l = Math.Min(temp.Length, length - resultIndex);<br />
            Array.Copy(temp, 0, result, resultIndex, l);<br />
            resultIndex += l;<br />
        }<br />
    }</p>
<p>    return new String(result);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on NetDrives - Simple Network Share Management by Ratcoon</title>
		<link>http://www.hardcodet.net/projects/netdrives/comment-page-1#comment-998</link>
		<dc:creator>Ratcoon</dc:creator>
		<pubDate>Wed, 20 Jan 2010 22:52:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?page_id=322#comment-998</guid>
		<description>I do have trust issues, I've been on the internets way too long.  Both of them.  And your attempt to send me to bing.com failed :)~  (I've been trying to make the switch from google but just can't seem to)
I always check the status bar.  And I understand how BBCode and similar forum markup code works.</description>
		<content:encoded><![CDATA[<p>I do have trust issues, I&#8217;ve been on the internets way too long.  Both of them.  And your attempt to send me to bing.com failed :)~  (I&#8217;ve been trying to make the switch from google but just can&#8217;t seem to)<br />
I always check the status bar.  And I understand how BBCode and similar forum markup code works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on NetDrives - Simple Network Share Management by Philipp Sumi</title>
		<link>http://www.hardcodet.net/projects/netdrives/comment-page-1#comment-997</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Wed, 20 Jan 2010 22:40:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?page_id=322#comment-997</guid>
		<description>Lucky you ;)
I'm pretty sure though that you would still click a link if it looked like
&lt;a href="http://www.bing.com" rel="nofollow"&gt;http://www.google.com&lt;/a&gt; (unless you have some real trust issues, that is).</description>
		<content:encoded><![CDATA[<p>Lucky you <img src='http://www.hardcodet.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
I&#8217;m pretty sure though that you would still click a link if it looked like<br />
<a href="http://www.bing.com" onclick="javascript:pageTracker._trackPageview('/outbound/comment/www.bing.com');" rel="nofollow">http://www.google.com</a> (unless you have some real trust issues, that is).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on NetDrives - Simple Network Share Management by Ratcoon</title>
		<link>http://www.hardcodet.net/projects/netdrives/comment-page-1#comment-996</link>
		<dc:creator>Ratcoon</dc:creator>
		<pubDate>Wed, 20 Jan 2010 22:37:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?page_id=322#comment-996</guid>
		<description>&lt;a href="#comment-995" rel="nofollow"&gt;@Philipp Sumi&lt;/a&gt; 
"I guess if you are reading my blog, you may also trust the links it’s providing" - um, wrong answer.  I don't trust anyone on the internets.  And you're Swiss, so...

But I found the answer.  All you have to do is visit TinyURL's preview page (http://tinyurl.com/preview.php) and click "enable previews." The service will add a cookie to your browser so that every time you click on a TinyURL link you'll first be taken to a page showing the complete URL.  Now I can see that your TinyURL resolves to this URL: http://blogs.infragistics.com/blogs/andrew_flick/archive/2009/05/13/netdrives-free-utility-to-map-network-shares-drives.aspx.

Now I can click TinyURLs without having to worry about seeing pictures of trannies or CP at work.  Yay!</description>
		<content:encoded><![CDATA[<p><a href="#comment-995" rel="nofollow">@Philipp Sumi</a><br />
&#8220;I guess if you are reading my blog, you may also trust the links it’s providing&#8221; - um, wrong answer.  I don&#8217;t trust anyone on the internets.  And you&#8217;re Swiss, so&#8230;</p>
<p>But I found the answer.  All you have to do is visit TinyURL&#8217;s preview page (http://tinyurl.com/preview.php) and click &#8220;enable previews.&#8221; The service will add a cookie to your browser so that every time you click on a TinyURL link you&#8217;ll first be taken to a page showing the complete URL.  Now I can see that your TinyURL resolves to this URL: <a href="http://blogs.infragistics.com/blogs/andrew_flick/archive/2009/05/13/netdrives-free-utility-to-map-network-shares-drives.aspx" onclick="javascript:pageTracker._trackPageview('/outbound/comment/blogs.infragistics.com');" rel="nofollow">http://blogs.infragistics.com/blogs/andrew_flick/archive/2009/05/13/netdrives-free-utility-to-map-network-shares-drives.aspx</a>.</p>
<p>Now I can click TinyURLs without having to worry about seeing pictures of trannies or CP at work.  Yay!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on NetDrives - Simple Network Share Management by Philipp Sumi</title>
		<link>http://www.hardcodet.net/projects/netdrives/comment-page-1#comment-995</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Wed, 20 Jan 2010 21:00:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?page_id=322#comment-995</guid>
		<description>@Ratcoon
Because the link is a really long one? I guess if you are reading my blog, you may also trust the links it's providing ;)</description>
		<content:encoded><![CDATA[<p>@Ratcoon<br />
Because the link is a really long one? I guess if you are reading my blog, you may also trust the links it&#8217;s providing <img src='http://www.hardcodet.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on NetDrives - Simple Network Share Management by Ratcoon</title>
		<link>http://www.hardcodet.net/projects/netdrives/comment-page-1#comment-994</link>
		<dc:creator>Ratcoon</dc:creator>
		<pubDate>Wed, 20 Jan 2010 20:56:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?page_id=322#comment-994</guid>
		<description>&lt;a href="#comment-396" rel="nofollow"&gt;@Philipp Sumi&lt;/a&gt; 
I can understand using shortened URLs for twitter (although I can't understand using twitter), but why on a website?  How do I know that link won't send me to a website full of trojans or pr0n?  Guess I'll never know...</description>
		<content:encoded><![CDATA[<p><a href="#comment-396" rel="nofollow">@Philipp Sumi</a><br />
I can understand using shortened URLs for twitter (although I can&#8217;t understand using twitter), but why on a website?  How do I know that link won&#8217;t send me to a website full of trojans or pr0n?  Guess I&#8217;ll never know&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SLF Hands-on Tutorial, Part 1 by alexandrul</title>
		<link>http://www.hardcodet.net/2009/12/slf-tutorial-1/comment-page-1#comment-993</link>
		<dc:creator>alexandrul</dc:creator>
		<pubDate>Tue, 19 Jan 2010 11:40:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=664#comment-993</guid>
		<description>any news about the second part? even a draft?</description>
		<content:encoded><![CDATA[<p>any news about the second part? even a draft?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on An Introduction to SLF, the Simple Logging Fa&#231;ade by Philipp Sumi</title>
		<link>http://www.hardcodet.net/2009/12/slf-introduction/comment-page-1#comment-992</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Mon, 18 Jan 2010 18:46:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=671#comment-992</guid>
		<description>Nah, I'm pretty sure that gals are generally *much* smarter than us guys. Which is why they would use SLF in the first place :p

However, I'll keep the naming proposition in mind. Although L4G doesn't sound as slick as SLF. This *is* a show stopper.</description>
		<content:encoded><![CDATA[<p>Nah, I&#8217;m pretty sure that gals are generally *much* smarter than us guys. Which is why they would use SLF in the first place :p</p>
<p>However, I&#8217;ll keep the naming proposition in mind. Although L4G doesn&#8217;t sound as slick as SLF. This *is* a show stopper.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on An Introduction to SLF, the Simple Logging Fa&#231;ade by Josh Usovsky</title>
		<link>http://www.hardcodet.net/2009/12/slf-introduction/comment-page-1#comment-991</link>
		<dc:creator>Josh Usovsky</dc:creator>
		<pubDate>Mon, 18 Jan 2010 18:23:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=671#comment-991</guid>
		<description>I noticed you conspicuously used "her" in the first  paragraph rather than just using a gender-agnostic plural pronoun.  Are you insinuating that women are incapable of writing their own logging code?  You should totally rename this to Logging4Girls! :)</description>
		<content:encoded><![CDATA[<p>I noticed you conspicuously used &#8220;her&#8221; in the first  paragraph rather than just using a gender-agnostic plural pronoun.  Are you insinuating that women are incapable of writing their own logging code?  You should totally rename this to Logging4Girls! <img src='http://www.hardcodet.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </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-985</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Sun, 17 Jan 2010 10:08:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=727#comment-985</guid>
		<description>Mac,
The scheduler's internal job collection is not public, because tampering with it might be delicate in terms of performance and/or multithreading.
In order to make the jobs public, you would have to subclass the Scheduler class like this (note that the collection is locked during enumeration, and does not return the internal list itself):

&lt;br/&gt;
&lt;pre&gt;public class MyScheduler : Scheduler
{
  public IEnumerable&lt;Job&gt; GetJobs()
  {
    lock(SyncRoot)
    {
      return Jobs.Select(jc =&gt; jc.ManagedJob).ToArray();
    }
  }
}&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Mac,<br />
The scheduler&#8217;s internal job collection is not public, because tampering with it might be delicate in terms of performance and/or multithreading.<br />
In order to make the jobs public, you would have to subclass the Scheduler class like this (note that the collection is locked during enumeration, and does not return the internal list itself):</p>
<p></p>
<pre>public class MyScheduler : Scheduler
{
  public IEnumerable&lt;Job&gt; GetJobs()
  {
    lock(SyncRoot)
    {
      return Jobs.Select(jc => jc.ManagedJob).ToArray();
    }
  }
}</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Lightweight Task Scheduling Library for .NET / Silverlight by Mac</title>
		<link>http://www.hardcodet.net/2010/01/lightweight-task-slash-job-scheduling-with-silverlight-support/comment-page-1#comment-984</link>
		<dc:creator>Mac</dc:creator>
		<pubDate>Sun, 17 Jan 2010 02:27:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=727#comment-984</guid>
		<description>Great! keep up your good work.
How to enumerable to the job collection?</description>
		<content:encoded><![CDATA[<p>Great! keep up your good work.<br />
How to enumerable to the job collection?</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-983</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Tue, 12 Jan 2010 23:44:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=727#comment-983</guid>
		<description>Miha,

Quartz looked like an obvious choice from the specs, but it turned out to be too heavyweight for me. It has maintained compatibility back to .NET 1.1, and also comes with a dependency to Common.Logging that was a bit of a show stopper to me. And Silverlight compatibility is of course out of the question as well.

However, this doesn't mean that my library is necessarily the better solution for your project: I guess my approach and Quartz just satisfy different requirements: Quartz is quite a beast and brings a lot to the table in one package (including database storage). Mine is a leightweight solution that can be *very* easily integrated and adjusted if needed, and leverages new language features in order to provide a lean API.

HTH,
Philipp</description>
		<content:encoded><![CDATA[<p>Miha,</p>
<p>Quartz looked like an obvious choice from the specs, but it turned out to be too heavyweight for me. It has maintained compatibility back to .NET 1.1, and also comes with a dependency to Common.Logging that was a bit of a show stopper to me. And Silverlight compatibility is of course out of the question as well.</p>
<p>However, this doesn&#8217;t mean that my library is necessarily the better solution for your project: I guess my approach and Quartz just satisfy different requirements: Quartz is quite a beast and brings a lot to the table in one package (including database storage). Mine is a leightweight solution that can be *very* easily integrated and adjusted if needed, and leverages new language features in order to provide a lean API.</p>
<p>HTH,<br />
Philipp</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Lightweight Task Scheduling Library for .NET / Silverlight by Miha Novak</title>
		<link>http://www.hardcodet.net/2010/01/lightweight-task-slash-job-scheduling-with-silverlight-support/comment-page-1#comment-982</link>
		<dc:creator>Miha Novak</dc:creator>
		<pubDate>Tue, 12 Jan 2010 23:06:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=727#comment-982</guid>
		<description>Nice implementation, may I just ask what was it that convinced you to write your own task scheduler - what was it about Quarz.NET that you didn't you find adequate?
I'we always had at the back of my mind that Quartz.NET could probably cover all my needs, was it perhaps just the API in your case?</description>
		<content:encoded><![CDATA[<p>Nice implementation, may I just ask what was it that convinced you to write your own task scheduler - what was it about Quarz.NET that you didn&#8217;t you find adequate?<br />
I&#8217;we always had at the back of my mind that Quartz.NET could probably cover all my needs, was it perhaps just the API in your case?</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-980</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Tue, 12 Jan 2010 17:08:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=727#comment-980</guid>
		<description>&lt;a href="#comment-979" rel="nofollow"&gt;@jbland&lt;/a&gt; 
No problem if it's supposed to run server-side. Also make sure you will get the upcoming update (as of v1.0.2), which provides a simple exception handling mechanism.</description>
		<content:encoded><![CDATA[<p><a href="#comment-979" rel="nofollow">@jbland</a><br />
No problem if it&#8217;s supposed to run server-side. Also make sure you will get the upcoming update (as of v1.0.2), which provides a simple exception handling mechanism.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Lightweight Task Scheduling Library for .NET / Silverlight by jbland</title>
		<link>http://www.hardcodet.net/2010/01/lightweight-task-slash-job-scheduling-with-silverlight-support/comment-page-1#comment-979</link>
		<dc:creator>jbland</dc:creator>
		<pubDate>Tue, 12 Jan 2010 17:06:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=727#comment-979</guid>
		<description>Is this a good fit for ASP.NET ?</description>
		<content:encoded><![CDATA[<p>Is this a good fit for ASP.NET ?</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-978</link>
		<dc:creator>Philipp Sumi</dc:creator>
		<pubDate>Tue, 12 Jan 2010 16:01:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=727#comment-978</guid>
		<description>Peter,
&lt;em&gt;
Edit: Exception handling implemented and published with version 1.0.2. Thanks for the feedback, Peter :)&lt;/em&gt;

&lt;del datetime="2010-01-13T00:03:35+00:00"&gt;I'd rather see the responsibility to handle failed jobs within the client code (on the callback method). However, I'm thinking about adding a callback handler for exceptions into the Scheduler class - mainly in order to handle potential issues with a failing ThreadPool (OutOfMemoryException), but I might extend the mechanism in order to report job exceptions as well. Hmm, need to think about this first...&lt;/del&gt;</description>
		<content:encoded><![CDATA[<p>Peter,<br />
<em><br />
Edit: Exception handling implemented and published with version 1.0.2. Thanks for the feedback, Peter <img src='http://www.hardcodet.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </em></p>
<p><del datetime="2010-01-13T00:03:35+00:00">I&#8217;d rather see the responsibility to handle failed jobs within the client code (on the callback method). However, I&#8217;m thinking about adding a callback handler for exceptions into the Scheduler class - mainly in order to handle potential issues with a failing ThreadPool (OutOfMemoryException), but I might extend the mechanism in order to report job exceptions as well. Hmm, need to think about this first&#8230;</del></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Lightweight Task Scheduling Library for .NET / Silverlight by Peter</title>
		<link>http://www.hardcodet.net/2010/01/lightweight-task-slash-job-scheduling-with-silverlight-support/comment-page-1#comment-977</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Tue, 12 Jan 2010 15:51:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.hardcodet.net/?p=727#comment-977</guid>
		<description>Thanks for posting the code and tests. Nicely done. I just implemented something very similar for a project I'm working on. Two things I don't see here are logging or error handling. What if a job fails during execution?</description>
		<content:encoded><![CDATA[<p>Thanks for posting the code and tests. Nicely done. I just implemented something very similar for a project I&#8217;m working on. Two things I don&#8217;t see here are logging or error handling. What if a job fails during execution?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
