<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/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>Yves Reynhout's Blog - All Comments</title><link>http://weblogs.asp.net/yreynhout/default.aspx</link><description>The seagile man</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Debug Build: 20510.895)</generator><item><title>re: Beware of using the ThreadStaticAttribute in an ASP.NET environment</title><link>http://weblogs.asp.net/yreynhout/archive/2003/03/19/4061.aspx#6602567</link><pubDate>Fri, 05 Sep 2008 17:23:38 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6602567</guid><dc:creator>wekempf</dc:creator><description>&lt;p&gt;I'm not going to address the problem you think exists here. &amp;nbsp;Let others do that. &amp;nbsp;But I want to point out your code has several glaring problems.&lt;/p&gt;
&lt;p&gt;1. &amp;nbsp;You should never lock a Type object. &amp;nbsp;(&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/1c9txz50.aspx"&gt;msdn.microsoft.com/.../1c9txz50.aspx&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;2. &amp;nbsp;The DCL (double-checked lock) pattern is dangerous and rarely needed on .NET. &amp;nbsp;On many platforms, DCL is broken. &amp;nbsp;The .NET VM actually provides for properly using the DCL regardless of the platform the byte code is eventually compiled on, but it requires the use of &amp;quot;volatile&amp;quot; or &amp;quot;MemoryBarrier&amp;quot;, which you've not done. &amp;nbsp;For a singleton, however, you can and should just rely on the language semantics of static constructors and not use the DCL (of course, in this case it's not a traditional singleton, but see the next point). (&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/brada/archive/2004/05/12/volatile-and-memorybarrier.aspx"&gt;blogs.msdn.com/.../volatile-and-memorybarrier.aspx&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;3. &amp;nbsp;In this case, the DCL isn't needed. &amp;nbsp;&amp;quot;_instance&amp;quot; is &amp;quot;ThreadStatic&amp;quot; and can't be accessed by other threads. No synchronization is required for the initialization code.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6602567" width="1" height="1"&gt;</description></item><item><title>Beware of using the ThreadStaticAttribute in an ASP.NET environment - </title><link>http://weblogs.asp.net/yreynhout/archive/2003/03/19/4061.aspx#6600798</link><pubDate>Thu, 04 Sep 2008 23:29:24 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6600798</guid><dc:creator>DotNetKicks.com</dc:creator><description>&lt;p&gt;You've been kicked (a good thing) - Trackback from DotNetKicks.com&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6600798" width="1" height="1"&gt;</description></item><item><title>re: Beware of using the ThreadStaticAttribute in an ASP.NET environment</title><link>http://weblogs.asp.net/yreynhout/archive/2003/03/19/4061.aspx#6569175</link><pubDate>Tue, 26 Aug 2008 21:05:22 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6569175</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;I am a little bit puzzeled as to why you have to do a lock on the object if the static instance is declared as ThreadStatic, and therefore is not shered between threads.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6569175" width="1" height="1"&gt;</description></item><item><title>re: O/R Mapping - Tools, Libraries &amp; Frameworks</title><link>http://weblogs.asp.net/yreynhout/archive/2003/10/07/30798.aspx#6457574</link><pubDate>Tue, 29 Jul 2008 16:48:30 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6457574</guid><dc:creator>Peter Morris</dc:creator><description>&lt;p&gt;ECO has moved to &lt;a rel="nofollow" target="_new" href="http://www.capableobjects.com"&gt;http://www.capableobjects.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Pete&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6457574" width="1" height="1"&gt;</description></item><item><title>re: O/R Mapping - Tools, Libraries &amp; Frameworks</title><link>http://weblogs.asp.net/yreynhout/archive/2003/10/07/30798.aspx#6396792</link><pubDate>Sun, 13 Jul 2008 14:27:18 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6396792</guid><dc:creator>aspnetNovice2007</dc:creator><description>&lt;p&gt;I use VS 2008, C#, and Telerik controls. &amp;nbsp;I'm seeking to make a wise decision on an OR/M to ease the pain of the backend &amp;quot;data stuff&amp;quot; whilst adhering to development of &amp;quot;proper&amp;quot; n-layer design.&lt;/p&gt;
&lt;p&gt;My research so far has me down to:&lt;/p&gt;
&lt;p&gt;- LLBLGen Pro&lt;/p&gt;
&lt;p&gt;- Opf3&lt;/p&gt;
&lt;p&gt;- EntitySpaces&lt;/p&gt;
&lt;p&gt;- SubSonic.&lt;/p&gt;
&lt;p&gt;I'm also aware of the existence of a term called &amp;quot;Entity Framework&amp;quot; by Microsoft. &amp;nbsp;Same goes for LINQ. &amp;nbsp;I've used a &amp;quot;hint&amp;quot; of LINQ so far.&lt;/p&gt;
&lt;p&gt;Can anyone shed light on their experience / knowledge of one or more of these tools? &amp;nbsp;Any advice you have I would appreciate, even if it's not in this list.&lt;/p&gt;
&lt;p&gt;My goal is to select a path which will serve me in the long-term (e.g. I don't want to invest my time and project code to a particular solution only to have it / its company dissolve in two years).&lt;/p&gt;
&lt;p&gt;Your input is valuable and much appreciated.&lt;/p&gt;
&lt;p&gt;Thank you for your efforts. &amp;nbsp;I look forward to your feedback.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6396792" width="1" height="1"&gt;</description></item><item><title>re: O/R Mapping - Tools, Libraries &amp; Frameworks</title><link>http://weblogs.asp.net/yreynhout/archive/2003/10/07/30798.aspx#6156648</link><pubDate>Sun, 04 May 2008 12:30:21 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6156648</guid><dc:creator>Amara</dc:creator><description>&lt;p&gt;I totally agree with u. Thanks for such a good suggestion.&lt;/p&gt;
&lt;p&gt;.........&lt;/p&gt;
&lt;p&gt;Amara&lt;/p&gt;
&lt;p&gt;Wow, check out this site called &amp;lt;a href=&amp;quot;www.fluc.com&amp;quot;&amp;gt;www.fluc.com&amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;p&gt;. Free SMS and free mobile ads!! Its fantastic&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6156648" width="1" height="1"&gt;</description></item><item><title>ORM - Should we move to ORM instead of keep up with conventional DAL ?</title><link>http://weblogs.asp.net/yreynhout/archive/2003/10/07/30798.aspx#6139241</link><pubDate>Mon, 28 Apr 2008 15:15:12 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6139241</guid><dc:creator>Vu Nguyen's Blog</dc:creator><description>&lt;p&gt;ORM - Should we move to ORM instead of keep up with conventional DAL ?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6139241" width="1" height="1"&gt;</description></item><item><title>re: O/R Mapping - Tools, Libraries &amp; Frameworks</title><link>http://weblogs.asp.net/yreynhout/archive/2003/10/07/30798.aspx#6098145</link><pubDate>Mon, 14 Apr 2008 19:27:59 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6098145</guid><dc:creator>Jeremy Connell</dc:creator><description>&lt;p&gt;Sorry, that url was:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.codeplex.com/jeremydotnet"&gt;www.codeplex.com/jeremydotnet&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6098145" width="1" height="1"&gt;</description></item><item><title>re: O/R Mapping - Tools, Libraries &amp; Frameworks</title><link>http://weblogs.asp.net/yreynhout/archive/2003/10/07/30798.aspx#6098086</link><pubDate>Mon, 14 Apr 2008 19:09:51 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6098086</guid><dc:creator>Jeremy Connell</dc:creator><description>&lt;p&gt;This .Net solution is completely free, capable, and transparent. Feedback is appreciated.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6098086" width="1" height="1"&gt;</description></item><item><title>re: O/R Mapping - Tools, Libraries &amp; Frameworks</title><link>http://weblogs.asp.net/yreynhout/archive/2003/10/07/30798.aspx#6087086</link><pubDate>Fri, 11 Apr 2008 12:53:07 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6087086</guid><dc:creator>landofcash</dc:creator><description>&lt;p&gt;hi all&lt;/p&gt;
&lt;p&gt;my 5 cents ;)&lt;/p&gt;
&lt;p&gt;open source, easy to start &amp;amp; use asp.net ORM lib&lt;/p&gt;
&lt;p&gt;support native SQL no stupid pseudo SQL syntax ;)&lt;/p&gt;
&lt;p&gt;some docs, demo and sources at &lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.codeplex.com/easypersist"&gt;www.codeplex.com/easypersist&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6087086" width="1" height="1"&gt;</description></item></channel></rss>