<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by Squarespace Site Server v5.11.81 (http://www.squarespace.com/) on Sat, 11 Feb 2012 01:52:46 GMT--><?xml-stylesheet type="text/css" href="/universal/styles/feed.css"?><rss version="2.0"><channel><title>Weston Binford - Comments</title><link>http://trason.net/journal/</link><description>Notes along my journey</description><copyright>Copyright 2009 Weston M. Binford III</copyright><language>en-US</language><generator>Squarespace Site Server v5.11.81 (http://www.squarespace.com/)</generator><item><title>mood ring comments on AltNetSeattle: Why We Stopped Using AutoMockingContainer</title><author>mood ring</author><pubDate>Mon, 18 Jul 2011 17:57:22 +0000</pubDate><link>http://trason.net/journal/2009/4/18/altnetseattle-why-we-stopped-using-automockingcontainer.html#comments</link><guid isPermaLink="false">342899:3630310:comment/13829863</guid><description><![CDATA[<p>It was very confusing. I thought it might be my Visual Studio or Windows wrong. However, I restarted my Windows and VS again. Still I got the error message. Finally I found that it is the call to AutoMockingContainer class where exception is raised. When I read the error message. I realize that the version of Rhino.Mocks is difference from the same library which is used in the project (ver 3.3.0906).</p><p>mood ring</a></p>]]></description></item><item><title>Greg comments on Code Snippets Using SyntaxHighlighter on SquareSpace</title><author>Greg</author><pubDate>Thu, 10 Feb 2011 03:16:27 +0000</pubDate><link>http://trason.net/journal/2009/10/6/code-snippets-using-syntaxhighlighter-on-squarespace.html#comments</link><guid isPermaLink="false">342899:3630310:comment/11826254</guid><description><![CDATA[<p>I followed your setup to the T, and then created a pre tag in my journal (below) but it has no effect other than honoring a normal pre-tag (pre-formatted text). Any idea why it no workie? I&#39;m new to SquareSpace, but need to make code highlighting ez so that we can focus on content. Any help would be much appreciated!</p><p>&lt;pre class=&quot;brush: cpp&quot;&gt;void test_MyFunc_should_ParseStuffAndCallTheHandlerForNeatFeatures(void)<br/>{<br/>      NEAT_FEATURES_T ExpectedFeatures = { 1, &quot;NeatStuff&quot; };</p><p>      ParseStuff_ExpectAndReturn(&quot;NeatStuff&quot;, 1);<br/>      HandleNeatFeatures_Expect(ExpectedFeatures);</p><p>      //Run Actual Function Under Test<br/>      MyFunc(&quot;NeatStuff&quot;);<br/>}<br/>&lt;/pre&gt;</p>]]></description></item><item><title>Jeroen K comments on Bootstrapping NHibernate with StructureMap</title><author>Jeroen K</author><pubDate>Mon, 03 Jan 2011 09:06:45 +0000</pubDate><link>http://trason.net/journal/2009/10/7/bootstrapping-nhibernate-with-structuremap.html#comments</link><guid isPermaLink="false">342899:3630310:comment/11011188</guid><description><![CDATA[<p>I like your solution. But when I use it in my project, lazy loading becomes a hassle. In requesting lazy loading properties after retrieving a product for example, I get a lazy load exception: &quot;NHibernate.LazyInitializationException: Initializing[&lt;classname&gt; -Could not initialize proxy - no Session.&quot; The solution is to eager load these properties on retrieval, but that sort of defeats the purpose of lazy loading. Is there any way to solve this?</p>]]></description></item><item><title>hussain comments on Bootstrapping NHibernate with StructureMap</title><author>hussain</author><pubDate>Wed, 14 Jul 2010 14:06:21 +0000</pubDate><link>http://trason.net/journal/2009/10/7/bootstrapping-nhibernate-with-structuremap.html#comments</link><guid isPermaLink="false">342899:3630310:comment/8951941</guid><description><![CDATA[<p>I dont think you need NHibernateModule at all because you have already wired up UnitOfWork in the NHibernateRegistry class with InstanceScope.Hybrid, therefore Structure map will create UnitOfWork for you for each httprequest.</p>]]></description></item><item><title>Mike Henry comments on Bootstrapping NHibernate with StructureMap</title><author>Mike Henry</author><pubDate>Thu, 01 Jul 2010 16:36:07 +0000</pubDate><link>http://trason.net/journal/2009/10/7/bootstrapping-nhibernate-with-structuremap.html#comments</link><guid isPermaLink="false">342899:3630310:comment/8850244</guid><description><![CDATA[<p>I wonder if there could be an issue with the _unitOfWork field in NHibernateModule? I believe NHibernateModule will have the lifetime of the web application, and thus _unitOfWork will span many requests. Could two concurrent requests attempt to use _unitOfWork at the same time thus causing one request to refer to the other requests unit of work?</p>]]></description></item><item><title>Mike Henry comments on Bootstrapping NHibernate with StructureMap</title><author>Mike Henry</author><pubDate>Fri, 25 Jun 2010 21:41:14 +0000</pubDate><link>http://trason.net/journal/2009/10/7/bootstrapping-nhibernate-with-structuremap.html#comments</link><guid isPermaLink="false">342899:3630310:comment/8804408</guid><description><![CDATA[<p>Thanks for the example. I found it very helpful without being overly complex.</p><p>Have you thought about how this might change using the new nested container functionality in StructureMap?</p>]]></description></item><item><title>zorro comments on Bootstrapping NHibernate with StructureMap</title><author>zorro</author><pubDate>Sat, 24 Apr 2010 10:55:34 +0000</pubDate><link>http://trason.net/journal/2009/10/7/bootstrapping-nhibernate-with-structuremap.html#comments</link><guid isPermaLink="false">342899:3630310:comment/8140764</guid><description><![CDATA[<p>Hi Weston,</p><p>Sorry for my question if you think it's not right.</p><p>I think we should not create IUnitOfWork interface because you had a ISession property in it, so we can not re-use if we use EF, linq2sql .... </p><p>In my opinion, we just need to create UnitOfWork that inherit from IDispose.</p><p>Thanks,<br/>Zorro.</p>]]></description></item><item><title>Kevin Pang comments on Bootstrapping NHibernate with StructureMap</title><author>Kevin Pang</author><pubDate>Mon, 05 Apr 2010 16:10:36 +0000</pubDate><link>http://trason.net/journal/2009/10/7/bootstrapping-nhibernate-with-structuremap.html#comments</link><guid isPermaLink="false">342899:3630310:comment/7969612</guid><description><![CDATA[<p>Why even bother with the HttpModule? As long as you use the using block in your code, Dispose will be called on the IUnitOfWork. Then you won't be opening up sessions for things like static image requests.</p>]]></description></item><item><title>Julius comments on NHibernate Transactional Boundaries</title><author>Julius</author><pubDate>Thu, 01 Apr 2010 17:52:14 +0000</pubDate><link>http://trason.net/journal/2009/10/14/nhibernate-transactional-boundaries.html#comments</link><guid isPermaLink="false">342899:3630310:comment/7935630</guid><description><![CDATA[<p>Yes, you said well that The only addition is the call to the _unitOfWork.Commit(). However, now that the NHibernateModule is responsible for the commit, the developer can not abort an existing transaction.</p>]]></description></item><item><title>djnaff comments on Bootstrapping NHibernate with StructureMap</title><author>djnaff</author><pubDate>Wed, 10 Mar 2010 15:48:29 +0000</pubDate><link>http://trason.net/journal/2009/10/7/bootstrapping-nhibernate-with-structuremap.html#comments</link><guid isPermaLink="false">342899:3630310:comment/7730784</guid><description><![CDATA[<p>I didn't understand the concluding part of your article, could you please explain it more?</p>]]></description></item><item><title>dario-g comments on NHibernate Transactional Boundaries</title><author>dario-g</author><pubDate>Wed, 06 Jan 2010 09:53:53 +0000</pubDate><link>http://trason.net/journal/2009/10/14/nhibernate-transactional-boundaries.html#comments</link><guid isPermaLink="false">342899:3630310:comment/6791458</guid><description><![CDATA[<p>Hi<br/>One transaction per request is not possible for some situations. Example: creating new invoice need generate new number. Number generator use database. Generator should quick generate new number and commit transaction. Then we can create new invoice. That 2 transactions per request.</p><p>You shouldn't holding generator lock within transaction too long.</p>]]></description></item><item><title>Chris Marisic comments on Bootstrapping NHibernate with StructureMap</title><author>Chris Marisic</author><pubDate>Fri, 18 Dec 2009 16:13:30 +0000</pubDate><link>http://trason.net/journal/2009/10/7/bootstrapping-nhibernate-with-structuremap.html#comments</link><guid isPermaLink="false">342899:3630310:comment/6619511</guid><description><![CDATA[<p>Weston,</p><p>I started on a project similar to this almost a full year ago, today I just completed it that I feel I am satisfied. I also achieved this with no http modules or inclusion of postbuild weaving AOP frameworks. If you have some time I'd appreciate some feedback or to use any my ideas with your project! http://dotnetchris.wordpress.com/2009/12/18/implementing-nhibernate-long-conversation-with-no-httpmodules-or-aop-build-time-weaving/</p>]]></description></item><item><title>TechDave comments on Code Snippets Using SyntaxHighlighter on SquareSpace</title><author>TechDave</author><pubDate>Sat, 28 Nov 2009 16:44:24 +0000</pubDate><link>http://trason.net/journal/2009/10/6/code-snippets-using-syntaxhighlighter-on-squarespace.html#comments</link><guid isPermaLink="false">342899:3630310:comment/6439652</guid><description><![CDATA[<p>moving my site from wordpress to squarespace...this is exactly what I am looking for...I'll let you know how it goes...</p>]]></description></item><item><title>Edvard Pitka comments on Bootstrapping NHibernate with StructureMap</title><author>Edvard Pitka</author><pubDate>Thu, 19 Nov 2009 16:04:45 +0000</pubDate><link>http://trason.net/journal/2009/10/7/bootstrapping-nhibernate-with-structuremap.html#comments</link><guid isPermaLink="false">342899:3630310:comment/6333087</guid><description><![CDATA[<p>Just wondering about letting StructureMap  open session. Would this not render SessionFactory.GetCurrentSession() usless, since we are not binding it using CurrentSesisonContext? If we had code that did not use StructureMap there would be not way for it to get hold of the current session?</p>]]></description></item><item><title>ulu comments on NHibernate Transactional Boundaries</title><author>ulu</author><pubDate>Mon, 26 Oct 2009 20:58:38 +0000</pubDate><link>http://trason.net/journal/2009/10/14/nhibernate-transactional-boundaries.html#comments</link><guid isPermaLink="false">342899:3630310:comment/6015558</guid><description><![CDATA[<p>I remember Ayende has been having certain problems with using a HttpModule. Something like calling Dispose several times per request, or similar. Anyway, keeping all initialization/finalization logic in a single place (HttpApplication) looks cleaner, what you think?</p>]]></description></item></channel></rss>
