<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.lostechies.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Solutionizing .NET (Keith Dahlby) - All Comments</title><link>http://www.lostechies.com/blogs/dahlbyk/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2008.5 (Build: 30929.2835)</generator><item><title>re: posh-git: A PowerShell Environment for Git</title><link>http://www.lostechies.com/blogs/dahlbyk/archive/2010/03/15/posh-git-a-powershell-environment-for-git.aspx#75142</link><pubDate>Mon, 15 Mar 2010 15:28:10 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:75142</guid><dc:creator>Garry Shutler</dc:creator><description>&lt;p&gt;The name of this project fills me with glee.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=75142" width="1" height="1"&gt;</description></item><item><title>Weekly Link Post 130 &amp;laquo; Rhonda Tipton&amp;#8217;s WebLog</title><link>http://www.lostechies.com/blogs/dahlbyk/archive/2010/01/25/extension-methods-on-types-you-own.aspx#54256</link><pubDate>Mon, 01 Feb 2010 01:33:57 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:54256</guid><dc:creator>Weekly Link Post 130 « Rhonda Tipton’s WebLog</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Weekly Link Post 130 &amp;laquo; Rhonda Tipton&amp;#8217;s WebLog&lt;/p&gt;
&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=54256" width="1" height="1"&gt;</description></item><item><title>re: Extension Methods on Types You Own?</title><link>http://www.lostechies.com/blogs/dahlbyk/archive/2010/01/25/extension-methods-on-types-you-own.aspx#54230</link><pubDate>Mon, 01 Feb 2010 00:35:14 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:54230</guid><dc:creator>DCam</dc:creator><description>&lt;p&gt;Seems like a good application of extension methods. Extension methods offer functional abstraction: pulling out common behaviour and putting it somewhere it can be reused or reapplied as appropriate. So, now you can GetOrInsert on any ICacheProvider, no matter what type of ICacheProvider you&amp;#39;re talking about. Brilliant.&lt;/p&gt;
&lt;p&gt;I ran in to a similar situation last year, but didn&amp;#39;t put as much clear though in to why it makes sense this way: &lt;a rel="nofollow" target="_new" href="http://intwoplacesatonce.com/2009/12/in-c-3-5-interface-extension-methods-mixin/"&gt;intwoplacesatonce.com/.../in-c-3-5-interface-extension-methods-mixin&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=54230" width="1" height="1"&gt;</description></item><item><title>Today's Bookmarks (Jan 27 2010)</title><link>http://www.lostechies.com/blogs/dahlbyk/archive/2010/01/23/quick-tip-parse-string-to-nullable-value.aspx#52685</link><pubDate>Wed, 27 Jan 2010 22:41:03 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:52685</guid><dc:creator>Dan Maharry</dc:creator><description>&lt;p&gt;Today&amp;#39;s Bookmarks (Jan 27 2010)&lt;/p&gt;
&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=52685" width="1" height="1"&gt;</description></item><item><title>Twitter Trackbacks for                 Extension Methods on Types You Own? - Solutionizing .NET (Keith Dahlby) - Los Techies : Blogs about software         [lostechies.com]        on Topsy.com</title><link>http://www.lostechies.com/blogs/dahlbyk/archive/2010/01/25/extension-methods-on-types-you-own.aspx#52546</link><pubDate>Wed, 27 Jan 2010 15:09:28 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:52546</guid><dc:creator>Twitter Trackbacks for                 Extension Methods on Types You Own? - Solutionizing .NET (Keith Dahlby) - Los Techies : Blogs about software         [lostechies.com]        on Topsy.com</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Twitter Trackbacks for &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Extension Methods on Types You Own? - Solutionizing .NET (Keith Dahlby) - Los Techies : Blogs about software &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [lostechies.com] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;on Topsy.com&lt;/p&gt;
&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=52546" width="1" height="1"&gt;</description></item><item><title>links for 2010-01-26</title><link>http://www.lostechies.com/blogs/dahlbyk/archive/2010/01/23/quick-tip-parse-string-to-nullable-value.aspx#52320</link><pubDate>Wed, 27 Jan 2010 05:05:39 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:52320</guid><dc:creator>Dan Maharry</dc:creator><description>&lt;p&gt;links for 2010-01-26&lt;/p&gt;
&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=52320" width="1" height="1"&gt;</description></item><item><title>re: Extension Methods on Types You Own?</title><link>http://www.lostechies.com/blogs/dahlbyk/archive/2010/01/25/extension-methods-on-types-you-own.aspx#52266</link><pubDate>Wed, 27 Jan 2010 02:01:46 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:52266</guid><dc:creator>Keith Dahlby</dc:creator><description>&lt;p&gt;This looks like what Ravi is talking about:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://ayende.com/Blog/archive/2007/03/11/AOP-With-Windsor-Adding-Caching-to-IRepositoryT-based-on-Ts.aspx"&gt;ayende.com/.../AOP-With-Windsor-Adding-Caching-to-IRepositoryT-based-on-Ts.aspx&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=52266" width="1" height="1"&gt;</description></item><item><title>re: Extension Methods on Types You Own?</title><link>http://www.lostechies.com/blogs/dahlbyk/archive/2010/01/25/extension-methods-on-types-you-own.aspx#52187</link><pubDate>Tue, 26 Jan 2010 16:32:22 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:52187</guid><dc:creator>Anon</dc:creator><description>&lt;p&gt;Ravi...do you have any examples or can point to any articles on how to implement this? thanks.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=52187" width="1" height="1"&gt;</description></item><item><title>re: Extension Methods on Types You Own?</title><link>http://www.lostechies.com/blogs/dahlbyk/archive/2010/01/25/extension-methods-on-types-you-own.aspx#52144</link><pubDate>Tue, 26 Jan 2010 14:31:22 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:52144</guid><dc:creator>Keith Dahlby</dc:creator><description>&lt;p&gt;@Chris ~ An abstract base class would certainly work in this case - I&amp;#39;ll try to think of an example where it wouldn&amp;#39;t. I&amp;#39;m not overly concerned by the question &amp;quot;where does this live&amp;quot; given IDE tools to Go To Definition, Find References, etc., but I&amp;#39;m sure that varies across teams with varying degrees of comfort with extension methods.&lt;/p&gt;
&lt;p&gt;@Ravi ~ How do you handle different caching policies (sliding expiration, absolute expiration, etc) per interface/method with that approach? Sounds like a promising approach.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=52144" width="1" height="1"&gt;</description></item><item><title>Social comments and analytics for this post</title><link>http://www.lostechies.com/blogs/dahlbyk/archive/2010/01/25/extension-methods-on-types-you-own.aspx#52071</link><pubDate>Tue, 26 Jan 2010 05:14:04 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:52071</guid><dc:creator>uberVU - social comments</dc:creator><description>&lt;p&gt;This post was mentioned on Twitter by lostechies: blogged: Extension Methods on Types You Own?: It&amp;#39;s no secret that I&amp;#39;m a fan of using extension methods to make&lt;/p&gt;
&lt;p&gt;cod... &lt;a rel="nofollow" target="_new" href="http://bit.ly/5gFwmb"&gt;http://bit.ly/5gFwmb&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=52071" width="1" height="1"&gt;</description></item><item><title>Twitter Trackbacks for                 Extension Methods on Types You Own? - Solutionizing .NET (Keith Dahlby) - Los Techies : Blogs about software         [lostechies.com]        on Topsy.com</title><link>http://www.lostechies.com/blogs/dahlbyk/archive/2010/01/25/extension-methods-on-types-you-own.aspx#52014</link><pubDate>Tue, 26 Jan 2010 00:42:07 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:52014</guid><dc:creator>Twitter Trackbacks for                 Extension Methods on Types You Own? - Solutionizing .NET (Keith Dahlby) - Los Techies : Blogs about software         [lostechies.com]        on Topsy.com</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Twitter Trackbacks for &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Extension Methods on Types You Own? - Solutionizing .NET (Keith Dahlby) - Los Techies : Blogs about software &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [lostechies.com] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;on Topsy.com&lt;/p&gt;
&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=52014" width="1" height="1"&gt;</description></item><item><title>re: Extension Methods on Types You Own?</title><link>http://www.lostechies.com/blogs/dahlbyk/archive/2010/01/25/extension-methods-on-types-you-own.aspx#51963</link><pubDate>Mon, 25 Jan 2010 18:49:53 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:51963</guid><dc:creator>Ravi Terala</dc:creator><description>&lt;p&gt;For things like caching that you mentioned, I don&amp;#39;t ever write it as CachedAwesomeRepository &amp;nbsp;anymore. I wrote a generic caching interceptor, which you can write through Unity/Castle to any interface/virtual class that needs caching abilities. Caching policy and differentiating arguments, etc are configured through an external configuration file.&lt;/p&gt;
&lt;p&gt;This helped me configure and add caching to production bits when I want with out changing single line of code or recompiling.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=51963" width="1" height="1"&gt;</description></item><item><title>re: Extension Methods on Types You Own?</title><link>http://www.lostechies.com/blogs/dahlbyk/archive/2010/01/25/extension-methods-on-types-you-own.aspx#51961</link><pubDate>Mon, 25 Jan 2010 18:06:13 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:51961</guid><dc:creator>Chris Tavares</dc:creator><description>&lt;p&gt;One could argue you get the same benefits of abstraction and you don&amp;#39;t have the question of &amp;quot;where does this live&amp;quot; if you use an abstract base class instead of an interface.&lt;/p&gt;
&lt;p&gt;How often is something going to be an ICacheProvider and something else as well? I personally lean towards using interfaces for orthogonal concerns and base classes for domain concerns.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=51961" width="1" height="1"&gt;</description></item><item><title>Twitter Trackbacks for                 Quick Tip: Parse String to Nullable Value - Solutionizing .NET (Keith Dahlby) - Los Techies : Blogs about         [lostechies.com]        on Topsy.com</title><link>http://www.lostechies.com/blogs/dahlbyk/archive/2010/01/23/quick-tip-parse-string-to-nullable-value.aspx#51861</link><pubDate>Mon, 25 Jan 2010 09:01:15 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:51861</guid><dc:creator>Twitter Trackbacks for                 Quick Tip: Parse String to Nullable Value - Solutionizing .NET (Keith Dahlby) - Los Techies : Blogs about         [lostechies.com]        on Topsy.com</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Twitter Trackbacks for &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Quick Tip: Parse String to Nullable Value - Solutionizing .NET (Keith Dahlby) - Los Techies : Blogs about &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [lostechies.com] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;on Topsy.com&lt;/p&gt;
&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=51861" width="1" height="1"&gt;</description></item><item><title>re: Quick Tip: Parse String to Nullable Value</title><link>http://www.lostechies.com/blogs/dahlbyk/archive/2010/01/23/quick-tip-parse-string-to-nullable-value.aspx#51784</link><pubDate>Mon, 25 Jan 2010 01:46:09 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:51784</guid><dc:creator>Darage</dc:creator><description>&lt;p&gt;I Like.. Thanks for sharing&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=51784" width="1" height="1"&gt;</description></item></channel></rss>