<?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 on: CQRS &#8211; Trying to make it re-usable</title>
	<atom:link href="http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cqrs-trying-to-make-it-re-usable</link>
	<description></description>
	<lastBuildDate>Tue, 08 May 2012 09:13:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-53279</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Mon, 01 Feb 2010 10:06:53 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-53279</guid>
		<description>&lt;a href=&quot;#comment-53278&quot; rel=&quot;nofollow&quot;&gt;@Szymon Pobiega&lt;/a&gt; 
I would be more than happy to answer any questions you may have about my CQRS example, but I am afraid that I do not have enough time to join you on your example project. I have a few projects that I am already working on taking all my time. You can find my e-mail address in my Elegant Code profile page.</description>
		<content:encoded><![CDATA[<p><a href="#comment-53278" rel="nofollow">@Szymon Pobiega</a><br />
I would be more than happy to answer any questions you may have about my CQRS example, but I am afraid that I do not have enough time to join you on your example project. I have a few projects that I am already working on taking all my time. You can find my e-mail address in my Elegant Code profile page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Szymon Pobiega</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-53278</link>
		<dc:creator>Szymon Pobiega</dc:creator>
		<pubDate>Mon, 01 Feb 2010 09:37:19 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-53278</guid>
		<description>Hi Mark:)

I have just finished CQRS implementation of my DDDSample&#039;s .NET version. It is based (loosely) on Udi Dahan view of CQRS. For the sample to be complete, I would like to include also version based on your event sourcing implementation. Would you like to help me in this project?</description>
		<content:encoded><![CDATA[<p>Hi Mark:)</p>
<p>I have just finished CQRS implementation of my DDDSample&#8217;s .NET version. It is based (loosely) on Udi Dahan view of CQRS. For the sample to be complete, I would like to include also version based on your event sourcing implementation. Would you like to help me in this project?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elegant Code &#187; A web store using FubuMVC and CQRS</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52388</link>
		<dc:creator>Elegant Code &#187; A web store using FubuMVC and CQRS</dc:creator>
		<pubDate>Mon, 04 Jan 2010 20:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52388</guid>
		<description>[...] the development of my PI solution for this approach. You may read some initial thoughts about that here. Nothing beats developing something then driven by actual usage. I am also thinking about [...]</description>
		<content:encoded><![CDATA[<p>[...] the development of my PI solution for this approach. You may read some initial thoughts about that here. Nothing beats developing something then driven by actual usage. I am also thinking about [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Chaliy</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52103</link>
		<dc:creator>Mike Chaliy</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52103</guid>
		<description>Aha, thanks for responce, I will take a look.</description>
		<content:encoded><![CDATA[<p>Aha, thanks for responce, I will take a look.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52102</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:45:07 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52102</guid>
		<description>&lt;a href=&quot;#comment-52101&quot; rel=&quot;nofollow&quot;&gt;@Mike Chaliy&lt;/a&gt; 
Well if You look f.ex. at this test class that is really not using infrastructure, it is just using the same mechanism. 

http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs

Also I don&#039;t want to test state if I don&#039;t have to, using this way I get my AR into the expected state by using the same events as it would have used in the real scenario, and by validating the published events I test that I get the correct behavior out of my AR. This ensures that I cannot get my AR into a state for a test that is normally not possible to get into. And I can completely change the internal workings of my AR without breaking any tests. And finally I found this to be very simple to test and very readable, my setting state I don&#039;t necessarily see/know how it got that way.

I use protected properties for state purely because then it is hidden from the outside. State should be internal.

Also the proxy project has not been touched for a while (vacation time...), but I am still going to finish it so it will be re-usable. (mostly for me, but hey if others can as well than that would be great).</description>
		<content:encoded><![CDATA[<p><a href="#comment-52101" rel="nofollow">@Mike Chaliy</a><br />
Well if You look f.ex. at this test class that is really not using infrastructure, it is just using the same mechanism. </p>
<p><a href="http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs" rel="nofollow">http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs</a></p>
<p>Also I don&#8217;t want to test state if I don&#8217;t have to, using this way I get my AR into the expected state by using the same events as it would have used in the real scenario, and by validating the published events I test that I get the correct behavior out of my AR. This ensures that I cannot get my AR into a state for a test that is normally not possible to get into. And I can completely change the internal workings of my AR without breaking any tests. And finally I found this to be very simple to test and very readable, my setting state I don&#8217;t necessarily see/know how it got that way.</p>
<p>I use protected properties for state purely because then it is hidden from the outside. State should be internal.</p>
<p>Also the proxy project has not been touched for a while (vacation time&#8230;), but I am still going to finish it so it will be re-usable. (mostly for me, but hey if others can as well than that would be great).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Chaliy</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52101</link>
		<dc:creator>Mike Chaliy</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52101</guid>
		<description>Looks much better :). Thanks for your efforts. Another complain about previous implementation was inability to test domain entities without infrastructure. Do you have something in mind to address this?

BTW, here we also use automatic properties for state, they look bit different:

public virtual Address Address { get; internal set; }

This also allows proxies, but enable simple testing.</description>
		<content:encoded><![CDATA[<p>Looks much better <img src='http://elegantcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Thanks for your efforts. Another complain about previous implementation was inability to test domain entities without infrastructure. Do you have something in mind to address this?</p>
<p>BTW, here we also use automatic properties for state, they look bit different:</p>
<p>public virtual Address Address { get; internal set; }</p>
<p>This also allows proxies, but enable simple testing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adriano Machado</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-51508</link>
		<dc:creator>Adriano Machado</dc:creator>
		<pubDate>Thu, 17 Dec 2009 11:55:59 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-51508</guid>
		<description>Mark,

Thank you for this great piece of work.  I&#039;m studying the first implementation (Fohjin.DDD.Example), and trying to make it work in a web environment.  However, differently from the WinForms version, StructureMap keeps giving &quot;TransacionalHandler&quot; a new instance of &quot;IEventStoreUnitOfWork&quot;, which, by the way, is activated by asking for the instance of &quot;Fohjin.DDD.EventStore.IUnitOfWork&quot;.  Since I&#039;m new to StructureMap, I&#039;m having some hard time to make it work as it should.  Can you give me some advice?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>Thank you for this great piece of work.  I&#8217;m studying the first implementation (Fohjin.DDD.Example), and trying to make it work in a web environment.  However, differently from the WinForms version, StructureMap keeps giving &#8220;TransacionalHandler&#8221; a new instance of &#8220;IEventStoreUnitOfWork&#8221;, which, by the way, is activated by asking for the instance of &#8220;Fohjin.DDD.EventStore.IUnitOfWork&#8221;.  Since I&#8217;m new to StructureMap, I&#8217;m having some hard time to make it work as it should.  Can you give me some advice?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-51447</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Tue, 15 Dec 2009 22:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-51447</guid>
		<description>I currently also don&#039;t need to register the events in the AR anymore I&#039;ll write something about this shortly.</description>
		<content:encoded><![CDATA[<p>I currently also don&#8217;t need to register the events in the AR anymore I&#8217;ll write something about this shortly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reflective Perspective - Chris Alcock &#187; The Morning Brew #487</title>
	<atom:link href="http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cqrs-trying-to-make-it-re-usable</link>
	<description></description>
	<lastBuildDate>Tue, 08 May 2012 09:13:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comments on: CQRS &#8211; Trying to make it re-usable</title>
	<atom:link href="http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cqrs-trying-to-make-it-re-usable</link>
	<description></description>
	<lastBuildDate>Tue, 08 May 2012 09:13:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-53279</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Mon, 01 Feb 2010 10:06:53 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-53279</guid>
		<description>&lt;a href=&quot;#comment-53278&quot; rel=&quot;nofollow&quot;&gt;@Szymon Pobiega&lt;/a&gt; 
I would be more than happy to answer any questions you may have about my CQRS example, but I am afraid that I do not have enough time to join you on your example project. I have a few projects that I am already working on taking all my time. You can find my e-mail address in my Elegant Code profile page.</description>
		<content:encoded><![CDATA[<p><a href="#comment-53278" rel="nofollow">@Szymon Pobiega</a><br />
I would be more than happy to answer any questions you may have about my CQRS example, but I am afraid that I do not have enough time to join you on your example project. I have a few projects that I am already working on taking all my time. You can find my e-mail address in my Elegant Code profile page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Szymon Pobiega</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-53278</link>
		<dc:creator>Szymon Pobiega</dc:creator>
		<pubDate>Mon, 01 Feb 2010 09:37:19 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-53278</guid>
		<description>Hi Mark:)

I have just finished CQRS implementation of my DDDSample&#039;s .NET version. It is based (loosely) on Udi Dahan view of CQRS. For the sample to be complete, I would like to include also version based on your event sourcing implementation. Would you like to help me in this project?</description>
		<content:encoded><![CDATA[<p>Hi Mark:)</p>
<p>I have just finished CQRS implementation of my DDDSample&#8217;s .NET version. It is based (loosely) on Udi Dahan view of CQRS. For the sample to be complete, I would like to include also version based on your event sourcing implementation. Would you like to help me in this project?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elegant Code &#187; A web store using FubuMVC and CQRS</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52388</link>
		<dc:creator>Elegant Code &#187; A web store using FubuMVC and CQRS</dc:creator>
		<pubDate>Mon, 04 Jan 2010 20:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52388</guid>
		<description>[...] the development of my PI solution for this approach. You may read some initial thoughts about that here. Nothing beats developing something then driven by actual usage. I am also thinking about [...]</description>
		<content:encoded><![CDATA[<p>[...] the development of my PI solution for this approach. You may read some initial thoughts about that here. Nothing beats developing something then driven by actual usage. I am also thinking about [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Chaliy</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52103</link>
		<dc:creator>Mike Chaliy</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52103</guid>
		<description>Aha, thanks for responce, I will take a look.</description>
		<content:encoded><![CDATA[<p>Aha, thanks for responce, I will take a look.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52102</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:45:07 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52102</guid>
		<description>&lt;a href=&quot;#comment-52101&quot; rel=&quot;nofollow&quot;&gt;@Mike Chaliy&lt;/a&gt; 
Well if You look f.ex. at this test class that is really not using infrastructure, it is just using the same mechanism. 

http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs

Also I don&#039;t want to test state if I don&#039;t have to, using this way I get my AR into the expected state by using the same events as it would have used in the real scenario, and by validating the published events I test that I get the correct behavior out of my AR. This ensures that I cannot get my AR into a state for a test that is normally not possible to get into. And I can completely change the internal workings of my AR without breaking any tests. And finally I found this to be very simple to test and very readable, my setting state I don&#039;t necessarily see/know how it got that way.

I use protected properties for state purely because then it is hidden from the outside. State should be internal.

Also the proxy project has not been touched for a while (vacation time...), but I am still going to finish it so it will be re-usable. (mostly for me, but hey if others can as well than that would be great).</description>
		<content:encoded><![CDATA[<p><a href="#comment-52101" rel="nofollow">@Mike Chaliy</a><br />
Well if You look f.ex. at this test class that is really not using infrastructure, it is just using the same mechanism. </p>
<p><a href="http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs" rel="nofollow">http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs</a></p>
<p>Also I don&#8217;t want to test state if I don&#8217;t have to, using this way I get my AR into the expected state by using the same events as it would have used in the real scenario, and by validating the published events I test that I get the correct behavior out of my AR. This ensures that I cannot get my AR into a state for a test that is normally not possible to get into. And I can completely change the internal workings of my AR without breaking any tests. And finally I found this to be very simple to test and very readable, my setting state I don&#8217;t necessarily see/know how it got that way.</p>
<p>I use protected properties for state purely because then it is hidden from the outside. State should be internal.</p>
<p>Also the proxy project has not been touched for a while (vacation time&#8230;), but I am still going to finish it so it will be re-usable. (mostly for me, but hey if others can as well than that would be great).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Chaliy</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52101</link>
		<dc:creator>Mike Chaliy</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52101</guid>
		<description>Looks much better :). Thanks for your efforts. Another complain about previous implementation was inability to test domain entities without infrastructure. Do you have something in mind to address this?

BTW, here we also use automatic properties for state, they look bit different:

public virtual Address Address { get; internal set; }

This also allows proxies, but enable simple testing.</description>
		<content:encoded><![CDATA[<p>Looks much better <img src='http://elegantcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Thanks for your efforts. Another complain about previous implementation was inability to test domain entities without infrastructure. Do you have something in mind to address this?</p>
<p>BTW, here we also use automatic properties for state, they look bit different:</p>
<p>public virtual Address Address { get; internal set; }</p>
<p>This also allows proxies, but enable simple testing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adriano Machado</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-51508</link>
		<dc:creator>Adriano Machado</dc:creator>
		<pubDate>Thu, 17 Dec 2009 11:55:59 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-51508</guid>
		<description>Mark,

Thank you for this great piece of work.  I&#039;m studying the first implementation (Fohjin.DDD.Example), and trying to make it work in a web environment.  However, differently from the WinForms version, StructureMap keeps giving &quot;TransacionalHandler&quot; a new instance of &quot;IEventStoreUnitOfWork&quot;, which, by the way, is activated by asking for the instance of &quot;Fohjin.DDD.EventStore.IUnitOfWork&quot;.  Since I&#039;m new to StructureMap, I&#039;m having some hard time to make it work as it should.  Can you give me some advice?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>Thank you for this great piece of work.  I&#8217;m studying the first implementation (Fohjin.DDD.Example), and trying to make it work in a web environment.  However, differently from the WinForms version, StructureMap keeps giving &#8220;TransacionalHandler&#8221; a new instance of &#8220;IEventStoreUnitOfWork&#8221;, which, by the way, is activated by asking for the instance of &#8220;Fohjin.DDD.EventStore.IUnitOfWork&#8221;.  Since I&#8217;m new to StructureMap, I&#8217;m having some hard time to make it work as it should.  Can you give me some advice?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-51447</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Tue, 15 Dec 2009 22:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-51447</guid>
		<description>I currently also don&#039;t need to register the events in the AR anymore I&#039;ll write something about this shortly.</description>
		<content:encoded><![CDATA[<p>I currently also don&#8217;t need to register the events in the AR anymore I&#8217;ll write something about this shortly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reflective Perspective - Chris Alcock &#187; The Morning Brew #487</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-53279</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Mon, 01 Feb 2010 10:06:53 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-53279</guid>
		<description>&lt;a href=&quot;#comment-53278&quot; rel=&quot;nofollow&quot;&gt;@Szymon Pobiega&lt;/a&gt; 
I would be more than happy to answer any questions you may have about my CQRS example, but I am afraid that I do not have enough time to join you on your example project. I have a few projects that I am already working on taking all my time. You can find my e-mail address in my Elegant Code profile page.</description>
		<content:encoded><![CDATA[<p><a href="#comment-53278" rel="nofollow">@Szymon Pobiega</a><br />
I would be more than happy to answer any questions you may have about my CQRS example, but I am afraid that I do not have enough time to join you on your example project. I have a few projects that I am already working on taking all my time. You can find my e-mail address in my Elegant Code profile page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comments on: CQRS &#8211; Trying to make it re-usable</title>
	<atom:link href="http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cqrs-trying-to-make-it-re-usable</link>
	<description></description>
	<lastBuildDate>Tue, 08 May 2012 09:13:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-53279</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Mon, 01 Feb 2010 10:06:53 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-53279</guid>
		<description>&lt;a href=&quot;#comment-53278&quot; rel=&quot;nofollow&quot;&gt;@Szymon Pobiega&lt;/a&gt; 
I would be more than happy to answer any questions you may have about my CQRS example, but I am afraid that I do not have enough time to join you on your example project. I have a few projects that I am already working on taking all my time. You can find my e-mail address in my Elegant Code profile page.</description>
		<content:encoded><![CDATA[<p><a href="#comment-53278" rel="nofollow">@Szymon Pobiega</a><br />
I would be more than happy to answer any questions you may have about my CQRS example, but I am afraid that I do not have enough time to join you on your example project. I have a few projects that I am already working on taking all my time. You can find my e-mail address in my Elegant Code profile page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Szymon Pobiega</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-53278</link>
		<dc:creator>Szymon Pobiega</dc:creator>
		<pubDate>Mon, 01 Feb 2010 09:37:19 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-53278</guid>
		<description>Hi Mark:)

I have just finished CQRS implementation of my DDDSample&#039;s .NET version. It is based (loosely) on Udi Dahan view of CQRS. For the sample to be complete, I would like to include also version based on your event sourcing implementation. Would you like to help me in this project?</description>
		<content:encoded><![CDATA[<p>Hi Mark:)</p>
<p>I have just finished CQRS implementation of my DDDSample&#8217;s .NET version. It is based (loosely) on Udi Dahan view of CQRS. For the sample to be complete, I would like to include also version based on your event sourcing implementation. Would you like to help me in this project?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elegant Code &#187; A web store using FubuMVC and CQRS</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52388</link>
		<dc:creator>Elegant Code &#187; A web store using FubuMVC and CQRS</dc:creator>
		<pubDate>Mon, 04 Jan 2010 20:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52388</guid>
		<description>[...] the development of my PI solution for this approach. You may read some initial thoughts about that here. Nothing beats developing something then driven by actual usage. I am also thinking about [...]</description>
		<content:encoded><![CDATA[<p>[...] the development of my PI solution for this approach. You may read some initial thoughts about that here. Nothing beats developing something then driven by actual usage. I am also thinking about [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Chaliy</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52103</link>
		<dc:creator>Mike Chaliy</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52103</guid>
		<description>Aha, thanks for responce, I will take a look.</description>
		<content:encoded><![CDATA[<p>Aha, thanks for responce, I will take a look.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52102</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:45:07 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52102</guid>
		<description>&lt;a href=&quot;#comment-52101&quot; rel=&quot;nofollow&quot;&gt;@Mike Chaliy&lt;/a&gt; 
Well if You look f.ex. at this test class that is really not using infrastructure, it is just using the same mechanism. 

http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs

Also I don&#039;t want to test state if I don&#039;t have to, using this way I get my AR into the expected state by using the same events as it would have used in the real scenario, and by validating the published events I test that I get the correct behavior out of my AR. This ensures that I cannot get my AR into a state for a test that is normally not possible to get into. And I can completely change the internal workings of my AR without breaking any tests. And finally I found this to be very simple to test and very readable, my setting state I don&#039;t necessarily see/know how it got that way.

I use protected properties for state purely because then it is hidden from the outside. State should be internal.

Also the proxy project has not been touched for a while (vacation time...), but I am still going to finish it so it will be re-usable. (mostly for me, but hey if others can as well than that would be great).</description>
		<content:encoded><![CDATA[<p><a href="#comment-52101" rel="nofollow">@Mike Chaliy</a><br />
Well if You look f.ex. at this test class that is really not using infrastructure, it is just using the same mechanism. </p>
<p><a href="http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs" rel="nofollow">http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs</a></p>
<p>Also I don&#8217;t want to test state if I don&#8217;t have to, using this way I get my AR into the expected state by using the same events as it would have used in the real scenario, and by validating the published events I test that I get the correct behavior out of my AR. This ensures that I cannot get my AR into a state for a test that is normally not possible to get into. And I can completely change the internal workings of my AR without breaking any tests. And finally I found this to be very simple to test and very readable, my setting state I don&#8217;t necessarily see/know how it got that way.</p>
<p>I use protected properties for state purely because then it is hidden from the outside. State should be internal.</p>
<p>Also the proxy project has not been touched for a while (vacation time&#8230;), but I am still going to finish it so it will be re-usable. (mostly for me, but hey if others can as well than that would be great).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Chaliy</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52101</link>
		<dc:creator>Mike Chaliy</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52101</guid>
		<description>Looks much better :). Thanks for your efforts. Another complain about previous implementation was inability to test domain entities without infrastructure. Do you have something in mind to address this?

BTW, here we also use automatic properties for state, they look bit different:

public virtual Address Address { get; internal set; }

This also allows proxies, but enable simple testing.</description>
		<content:encoded><![CDATA[<p>Looks much better <img src='http://elegantcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Thanks for your efforts. Another complain about previous implementation was inability to test domain entities without infrastructure. Do you have something in mind to address this?</p>
<p>BTW, here we also use automatic properties for state, they look bit different:</p>
<p>public virtual Address Address { get; internal set; }</p>
<p>This also allows proxies, but enable simple testing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adriano Machado</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-51508</link>
		<dc:creator>Adriano Machado</dc:creator>
		<pubDate>Thu, 17 Dec 2009 11:55:59 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-51508</guid>
		<description>Mark,

Thank you for this great piece of work.  I&#039;m studying the first implementation (Fohjin.DDD.Example), and trying to make it work in a web environment.  However, differently from the WinForms version, StructureMap keeps giving &quot;TransacionalHandler&quot; a new instance of &quot;IEventStoreUnitOfWork&quot;, which, by the way, is activated by asking for the instance of &quot;Fohjin.DDD.EventStore.IUnitOfWork&quot;.  Since I&#039;m new to StructureMap, I&#039;m having some hard time to make it work as it should.  Can you give me some advice?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>Thank you for this great piece of work.  I&#8217;m studying the first implementation (Fohjin.DDD.Example), and trying to make it work in a web environment.  However, differently from the WinForms version, StructureMap keeps giving &#8220;TransacionalHandler&#8221; a new instance of &#8220;IEventStoreUnitOfWork&#8221;, which, by the way, is activated by asking for the instance of &#8220;Fohjin.DDD.EventStore.IUnitOfWork&#8221;.  Since I&#8217;m new to StructureMap, I&#8217;m having some hard time to make it work as it should.  Can you give me some advice?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-51447</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Tue, 15 Dec 2009 22:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-51447</guid>
		<description>I currently also don&#039;t need to register the events in the AR anymore I&#039;ll write something about this shortly.</description>
		<content:encoded><![CDATA[<p>I currently also don&#8217;t need to register the events in the AR anymore I&#8217;ll write something about this shortly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reflective Perspective - Chris Alcock &#187; The Morning Brew #487</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-53278</link>
		<dc:creator>Szymon Pobiega</dc:creator>
		<pubDate>Mon, 01 Feb 2010 09:37:19 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-53278</guid>
		<description>Hi Mark:)

I have just finished CQRS implementation of my DDDSample&#039;s .NET version. It is based (loosely) on Udi Dahan view of CQRS. For the sample to be complete, I would like to include also version based on your event sourcing implementation. Would you like to help me in this project?</description>
		<content:encoded><![CDATA[<p>Hi Mark:)</p>
<p>I have just finished CQRS implementation of my DDDSample&#8217;s .NET version. It is based (loosely) on Udi Dahan view of CQRS. For the sample to be complete, I would like to include also version based on your event sourcing implementation. Would you like to help me in this project?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comments on: CQRS &#8211; Trying to make it re-usable</title>
	<atom:link href="http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cqrs-trying-to-make-it-re-usable</link>
	<description></description>
	<lastBuildDate>Tue, 08 May 2012 09:13:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-53279</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Mon, 01 Feb 2010 10:06:53 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-53279</guid>
		<description>&lt;a href=&quot;#comment-53278&quot; rel=&quot;nofollow&quot;&gt;@Szymon Pobiega&lt;/a&gt; 
I would be more than happy to answer any questions you may have about my CQRS example, but I am afraid that I do not have enough time to join you on your example project. I have a few projects that I am already working on taking all my time. You can find my e-mail address in my Elegant Code profile page.</description>
		<content:encoded><![CDATA[<p><a href="#comment-53278" rel="nofollow">@Szymon Pobiega</a><br />
I would be more than happy to answer any questions you may have about my CQRS example, but I am afraid that I do not have enough time to join you on your example project. I have a few projects that I am already working on taking all my time. You can find my e-mail address in my Elegant Code profile page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Szymon Pobiega</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-53278</link>
		<dc:creator>Szymon Pobiega</dc:creator>
		<pubDate>Mon, 01 Feb 2010 09:37:19 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-53278</guid>
		<description>Hi Mark:)

I have just finished CQRS implementation of my DDDSample&#039;s .NET version. It is based (loosely) on Udi Dahan view of CQRS. For the sample to be complete, I would like to include also version based on your event sourcing implementation. Would you like to help me in this project?</description>
		<content:encoded><![CDATA[<p>Hi Mark:)</p>
<p>I have just finished CQRS implementation of my DDDSample&#8217;s .NET version. It is based (loosely) on Udi Dahan view of CQRS. For the sample to be complete, I would like to include also version based on your event sourcing implementation. Would you like to help me in this project?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elegant Code &#187; A web store using FubuMVC and CQRS</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52388</link>
		<dc:creator>Elegant Code &#187; A web store using FubuMVC and CQRS</dc:creator>
		<pubDate>Mon, 04 Jan 2010 20:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52388</guid>
		<description>[...] the development of my PI solution for this approach. You may read some initial thoughts about that here. Nothing beats developing something then driven by actual usage. I am also thinking about [...]</description>
		<content:encoded><![CDATA[<p>[...] the development of my PI solution for this approach. You may read some initial thoughts about that here. Nothing beats developing something then driven by actual usage. I am also thinking about [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Chaliy</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52103</link>
		<dc:creator>Mike Chaliy</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52103</guid>
		<description>Aha, thanks for responce, I will take a look.</description>
		<content:encoded><![CDATA[<p>Aha, thanks for responce, I will take a look.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52102</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:45:07 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52102</guid>
		<description>&lt;a href=&quot;#comment-52101&quot; rel=&quot;nofollow&quot;&gt;@Mike Chaliy&lt;/a&gt; 
Well if You look f.ex. at this test class that is really not using infrastructure, it is just using the same mechanism. 

http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs

Also I don&#039;t want to test state if I don&#039;t have to, using this way I get my AR into the expected state by using the same events as it would have used in the real scenario, and by validating the published events I test that I get the correct behavior out of my AR. This ensures that I cannot get my AR into a state for a test that is normally not possible to get into. And I can completely change the internal workings of my AR without breaking any tests. And finally I found this to be very simple to test and very readable, my setting state I don&#039;t necessarily see/know how it got that way.

I use protected properties for state purely because then it is hidden from the outside. State should be internal.

Also the proxy project has not been touched for a while (vacation time...), but I am still going to finish it so it will be re-usable. (mostly for me, but hey if others can as well than that would be great).</description>
		<content:encoded><![CDATA[<p><a href="#comment-52101" rel="nofollow">@Mike Chaliy</a><br />
Well if You look f.ex. at this test class that is really not using infrastructure, it is just using the same mechanism. </p>
<p><a href="http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs" rel="nofollow">http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs</a></p>
<p>Also I don&#8217;t want to test state if I don&#8217;t have to, using this way I get my AR into the expected state by using the same events as it would have used in the real scenario, and by validating the published events I test that I get the correct behavior out of my AR. This ensures that I cannot get my AR into a state for a test that is normally not possible to get into. And I can completely change the internal workings of my AR without breaking any tests. And finally I found this to be very simple to test and very readable, my setting state I don&#8217;t necessarily see/know how it got that way.</p>
<p>I use protected properties for state purely because then it is hidden from the outside. State should be internal.</p>
<p>Also the proxy project has not been touched for a while (vacation time&#8230;), but I am still going to finish it so it will be re-usable. (mostly for me, but hey if others can as well than that would be great).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Chaliy</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52101</link>
		<dc:creator>Mike Chaliy</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52101</guid>
		<description>Looks much better :). Thanks for your efforts. Another complain about previous implementation was inability to test domain entities without infrastructure. Do you have something in mind to address this?

BTW, here we also use automatic properties for state, they look bit different:

public virtual Address Address { get; internal set; }

This also allows proxies, but enable simple testing.</description>
		<content:encoded><![CDATA[<p>Looks much better <img src='http://elegantcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Thanks for your efforts. Another complain about previous implementation was inability to test domain entities without infrastructure. Do you have something in mind to address this?</p>
<p>BTW, here we also use automatic properties for state, they look bit different:</p>
<p>public virtual Address Address { get; internal set; }</p>
<p>This also allows proxies, but enable simple testing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adriano Machado</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-51508</link>
		<dc:creator>Adriano Machado</dc:creator>
		<pubDate>Thu, 17 Dec 2009 11:55:59 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-51508</guid>
		<description>Mark,

Thank you for this great piece of work.  I&#039;m studying the first implementation (Fohjin.DDD.Example), and trying to make it work in a web environment.  However, differently from the WinForms version, StructureMap keeps giving &quot;TransacionalHandler&quot; a new instance of &quot;IEventStoreUnitOfWork&quot;, which, by the way, is activated by asking for the instance of &quot;Fohjin.DDD.EventStore.IUnitOfWork&quot;.  Since I&#039;m new to StructureMap, I&#039;m having some hard time to make it work as it should.  Can you give me some advice?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>Thank you for this great piece of work.  I&#8217;m studying the first implementation (Fohjin.DDD.Example), and trying to make it work in a web environment.  However, differently from the WinForms version, StructureMap keeps giving &#8220;TransacionalHandler&#8221; a new instance of &#8220;IEventStoreUnitOfWork&#8221;, which, by the way, is activated by asking for the instance of &#8220;Fohjin.DDD.EventStore.IUnitOfWork&#8221;.  Since I&#8217;m new to StructureMap, I&#8217;m having some hard time to make it work as it should.  Can you give me some advice?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-51447</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Tue, 15 Dec 2009 22:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-51447</guid>
		<description>I currently also don&#039;t need to register the events in the AR anymore I&#039;ll write something about this shortly.</description>
		<content:encoded><![CDATA[<p>I currently also don&#8217;t need to register the events in the AR anymore I&#8217;ll write something about this shortly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reflective Perspective - Chris Alcock &#187; The Morning Brew #487</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52388</link>
		<dc:creator>Elegant Code &#187; A web store using FubuMVC and CQRS</dc:creator>
		<pubDate>Mon, 04 Jan 2010 20:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52388</guid>
		<description>[...] the development of my PI solution for this approach. You may read some initial thoughts about that here. Nothing beats developing something then driven by actual usage. I am also thinking about [...]</description>
		<content:encoded><![CDATA[<p>[...] the development of my PI solution for this approach. You may read some initial thoughts about that here. Nothing beats developing something then driven by actual usage. I am also thinking about [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comments on: CQRS &#8211; Trying to make it re-usable</title>
	<atom:link href="http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cqrs-trying-to-make-it-re-usable</link>
	<description></description>
	<lastBuildDate>Tue, 08 May 2012 09:13:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-53279</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Mon, 01 Feb 2010 10:06:53 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-53279</guid>
		<description>&lt;a href=&quot;#comment-53278&quot; rel=&quot;nofollow&quot;&gt;@Szymon Pobiega&lt;/a&gt; 
I would be more than happy to answer any questions you may have about my CQRS example, but I am afraid that I do not have enough time to join you on your example project. I have a few projects that I am already working on taking all my time. You can find my e-mail address in my Elegant Code profile page.</description>
		<content:encoded><![CDATA[<p><a href="#comment-53278" rel="nofollow">@Szymon Pobiega</a><br />
I would be more than happy to answer any questions you may have about my CQRS example, but I am afraid that I do not have enough time to join you on your example project. I have a few projects that I am already working on taking all my time. You can find my e-mail address in my Elegant Code profile page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Szymon Pobiega</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-53278</link>
		<dc:creator>Szymon Pobiega</dc:creator>
		<pubDate>Mon, 01 Feb 2010 09:37:19 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-53278</guid>
		<description>Hi Mark:)

I have just finished CQRS implementation of my DDDSample&#039;s .NET version. It is based (loosely) on Udi Dahan view of CQRS. For the sample to be complete, I would like to include also version based on your event sourcing implementation. Would you like to help me in this project?</description>
		<content:encoded><![CDATA[<p>Hi Mark:)</p>
<p>I have just finished CQRS implementation of my DDDSample&#8217;s .NET version. It is based (loosely) on Udi Dahan view of CQRS. For the sample to be complete, I would like to include also version based on your event sourcing implementation. Would you like to help me in this project?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elegant Code &#187; A web store using FubuMVC and CQRS</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52388</link>
		<dc:creator>Elegant Code &#187; A web store using FubuMVC and CQRS</dc:creator>
		<pubDate>Mon, 04 Jan 2010 20:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52388</guid>
		<description>[...] the development of my PI solution for this approach. You may read some initial thoughts about that here. Nothing beats developing something then driven by actual usage. I am also thinking about [...]</description>
		<content:encoded><![CDATA[<p>[...] the development of my PI solution for this approach. You may read some initial thoughts about that here. Nothing beats developing something then driven by actual usage. I am also thinking about [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Chaliy</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52103</link>
		<dc:creator>Mike Chaliy</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52103</guid>
		<description>Aha, thanks for responce, I will take a look.</description>
		<content:encoded><![CDATA[<p>Aha, thanks for responce, I will take a look.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52102</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:45:07 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52102</guid>
		<description>&lt;a href=&quot;#comment-52101&quot; rel=&quot;nofollow&quot;&gt;@Mike Chaliy&lt;/a&gt; 
Well if You look f.ex. at this test class that is really not using infrastructure, it is just using the same mechanism. 

http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs

Also I don&#039;t want to test state if I don&#039;t have to, using this way I get my AR into the expected state by using the same events as it would have used in the real scenario, and by validating the published events I test that I get the correct behavior out of my AR. This ensures that I cannot get my AR into a state for a test that is normally not possible to get into. And I can completely change the internal workings of my AR without breaking any tests. And finally I found this to be very simple to test and very readable, my setting state I don&#039;t necessarily see/know how it got that way.

I use protected properties for state purely because then it is hidden from the outside. State should be internal.

Also the proxy project has not been touched for a while (vacation time...), but I am still going to finish it so it will be re-usable. (mostly for me, but hey if others can as well than that would be great).</description>
		<content:encoded><![CDATA[<p><a href="#comment-52101" rel="nofollow">@Mike Chaliy</a><br />
Well if You look f.ex. at this test class that is really not using infrastructure, it is just using the same mechanism. </p>
<p><a href="http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs" rel="nofollow">http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs</a></p>
<p>Also I don&#8217;t want to test state if I don&#8217;t have to, using this way I get my AR into the expected state by using the same events as it would have used in the real scenario, and by validating the published events I test that I get the correct behavior out of my AR. This ensures that I cannot get my AR into a state for a test that is normally not possible to get into. And I can completely change the internal workings of my AR without breaking any tests. And finally I found this to be very simple to test and very readable, my setting state I don&#8217;t necessarily see/know how it got that way.</p>
<p>I use protected properties for state purely because then it is hidden from the outside. State should be internal.</p>
<p>Also the proxy project has not been touched for a while (vacation time&#8230;), but I am still going to finish it so it will be re-usable. (mostly for me, but hey if others can as well than that would be great).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Chaliy</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52101</link>
		<dc:creator>Mike Chaliy</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52101</guid>
		<description>Looks much better :). Thanks for your efforts. Another complain about previous implementation was inability to test domain entities without infrastructure. Do you have something in mind to address this?

BTW, here we also use automatic properties for state, they look bit different:

public virtual Address Address { get; internal set; }

This also allows proxies, but enable simple testing.</description>
		<content:encoded><![CDATA[<p>Looks much better <img src='http://elegantcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Thanks for your efforts. Another complain about previous implementation was inability to test domain entities without infrastructure. Do you have something in mind to address this?</p>
<p>BTW, here we also use automatic properties for state, they look bit different:</p>
<p>public virtual Address Address { get; internal set; }</p>
<p>This also allows proxies, but enable simple testing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adriano Machado</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-51508</link>
		<dc:creator>Adriano Machado</dc:creator>
		<pubDate>Thu, 17 Dec 2009 11:55:59 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-51508</guid>
		<description>Mark,

Thank you for this great piece of work.  I&#039;m studying the first implementation (Fohjin.DDD.Example), and trying to make it work in a web environment.  However, differently from the WinForms version, StructureMap keeps giving &quot;TransacionalHandler&quot; a new instance of &quot;IEventStoreUnitOfWork&quot;, which, by the way, is activated by asking for the instance of &quot;Fohjin.DDD.EventStore.IUnitOfWork&quot;.  Since I&#039;m new to StructureMap, I&#039;m having some hard time to make it work as it should.  Can you give me some advice?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>Thank you for this great piece of work.  I&#8217;m studying the first implementation (Fohjin.DDD.Example), and trying to make it work in a web environment.  However, differently from the WinForms version, StructureMap keeps giving &#8220;TransacionalHandler&#8221; a new instance of &#8220;IEventStoreUnitOfWork&#8221;, which, by the way, is activated by asking for the instance of &#8220;Fohjin.DDD.EventStore.IUnitOfWork&#8221;.  Since I&#8217;m new to StructureMap, I&#8217;m having some hard time to make it work as it should.  Can you give me some advice?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-51447</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Tue, 15 Dec 2009 22:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-51447</guid>
		<description>I currently also don&#039;t need to register the events in the AR anymore I&#039;ll write something about this shortly.</description>
		<content:encoded><![CDATA[<p>I currently also don&#8217;t need to register the events in the AR anymore I&#8217;ll write something about this shortly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reflective Perspective - Chris Alcock &#187; The Morning Brew #487</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52103</link>
		<dc:creator>Mike Chaliy</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52103</guid>
		<description>Aha, thanks for responce, I will take a look.</description>
		<content:encoded><![CDATA[<p>Aha, thanks for responce, I will take a look.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comments on: CQRS &#8211; Trying to make it re-usable</title>
	<atom:link href="http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cqrs-trying-to-make-it-re-usable</link>
	<description></description>
	<lastBuildDate>Tue, 08 May 2012 09:13:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-53279</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Mon, 01 Feb 2010 10:06:53 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-53279</guid>
		<description>&lt;a href=&quot;#comment-53278&quot; rel=&quot;nofollow&quot;&gt;@Szymon Pobiega&lt;/a&gt; 
I would be more than happy to answer any questions you may have about my CQRS example, but I am afraid that I do not have enough time to join you on your example project. I have a few projects that I am already working on taking all my time. You can find my e-mail address in my Elegant Code profile page.</description>
		<content:encoded><![CDATA[<p><a href="#comment-53278" rel="nofollow">@Szymon Pobiega</a><br />
I would be more than happy to answer any questions you may have about my CQRS example, but I am afraid that I do not have enough time to join you on your example project. I have a few projects that I am already working on taking all my time. You can find my e-mail address in my Elegant Code profile page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Szymon Pobiega</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-53278</link>
		<dc:creator>Szymon Pobiega</dc:creator>
		<pubDate>Mon, 01 Feb 2010 09:37:19 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-53278</guid>
		<description>Hi Mark:)

I have just finished CQRS implementation of my DDDSample&#039;s .NET version. It is based (loosely) on Udi Dahan view of CQRS. For the sample to be complete, I would like to include also version based on your event sourcing implementation. Would you like to help me in this project?</description>
		<content:encoded><![CDATA[<p>Hi Mark:)</p>
<p>I have just finished CQRS implementation of my DDDSample&#8217;s .NET version. It is based (loosely) on Udi Dahan view of CQRS. For the sample to be complete, I would like to include also version based on your event sourcing implementation. Would you like to help me in this project?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elegant Code &#187; A web store using FubuMVC and CQRS</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52388</link>
		<dc:creator>Elegant Code &#187; A web store using FubuMVC and CQRS</dc:creator>
		<pubDate>Mon, 04 Jan 2010 20:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52388</guid>
		<description>[...] the development of my PI solution for this approach. You may read some initial thoughts about that here. Nothing beats developing something then driven by actual usage. I am also thinking about [...]</description>
		<content:encoded><![CDATA[<p>[...] the development of my PI solution for this approach. You may read some initial thoughts about that here. Nothing beats developing something then driven by actual usage. I am also thinking about [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Chaliy</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52103</link>
		<dc:creator>Mike Chaliy</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52103</guid>
		<description>Aha, thanks for responce, I will take a look.</description>
		<content:encoded><![CDATA[<p>Aha, thanks for responce, I will take a look.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52102</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:45:07 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52102</guid>
		<description>&lt;a href=&quot;#comment-52101&quot; rel=&quot;nofollow&quot;&gt;@Mike Chaliy&lt;/a&gt; 
Well if You look f.ex. at this test class that is really not using infrastructure, it is just using the same mechanism. 

http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs

Also I don&#039;t want to test state if I don&#039;t have to, using this way I get my AR into the expected state by using the same events as it would have used in the real scenario, and by validating the published events I test that I get the correct behavior out of my AR. This ensures that I cannot get my AR into a state for a test that is normally not possible to get into. And I can completely change the internal workings of my AR without breaking any tests. And finally I found this to be very simple to test and very readable, my setting state I don&#039;t necessarily see/know how it got that way.

I use protected properties for state purely because then it is hidden from the outside. State should be internal.

Also the proxy project has not been touched for a while (vacation time...), but I am still going to finish it so it will be re-usable. (mostly for me, but hey if others can as well than that would be great).</description>
		<content:encoded><![CDATA[<p><a href="#comment-52101" rel="nofollow">@Mike Chaliy</a><br />
Well if You look f.ex. at this test class that is really not using infrastructure, it is just using the same mechanism. </p>
<p><a href="http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs" rel="nofollow">http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs</a></p>
<p>Also I don&#8217;t want to test state if I don&#8217;t have to, using this way I get my AR into the expected state by using the same events as it would have used in the real scenario, and by validating the published events I test that I get the correct behavior out of my AR. This ensures that I cannot get my AR into a state for a test that is normally not possible to get into. And I can completely change the internal workings of my AR without breaking any tests. And finally I found this to be very simple to test and very readable, my setting state I don&#8217;t necessarily see/know how it got that way.</p>
<p>I use protected properties for state purely because then it is hidden from the outside. State should be internal.</p>
<p>Also the proxy project has not been touched for a while (vacation time&#8230;), but I am still going to finish it so it will be re-usable. (mostly for me, but hey if others can as well than that would be great).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Chaliy</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52101</link>
		<dc:creator>Mike Chaliy</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52101</guid>
		<description>Looks much better :). Thanks for your efforts. Another complain about previous implementation was inability to test domain entities without infrastructure. Do you have something in mind to address this?

BTW, here we also use automatic properties for state, they look bit different:

public virtual Address Address { get; internal set; }

This also allows proxies, but enable simple testing.</description>
		<content:encoded><![CDATA[<p>Looks much better <img src='http://elegantcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Thanks for your efforts. Another complain about previous implementation was inability to test domain entities without infrastructure. Do you have something in mind to address this?</p>
<p>BTW, here we also use automatic properties for state, they look bit different:</p>
<p>public virtual Address Address { get; internal set; }</p>
<p>This also allows proxies, but enable simple testing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adriano Machado</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-51508</link>
		<dc:creator>Adriano Machado</dc:creator>
		<pubDate>Thu, 17 Dec 2009 11:55:59 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-51508</guid>
		<description>Mark,

Thank you for this great piece of work.  I&#039;m studying the first implementation (Fohjin.DDD.Example), and trying to make it work in a web environment.  However, differently from the WinForms version, StructureMap keeps giving &quot;TransacionalHandler&quot; a new instance of &quot;IEventStoreUnitOfWork&quot;, which, by the way, is activated by asking for the instance of &quot;Fohjin.DDD.EventStore.IUnitOfWork&quot;.  Since I&#039;m new to StructureMap, I&#039;m having some hard time to make it work as it should.  Can you give me some advice?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>Thank you for this great piece of work.  I&#8217;m studying the first implementation (Fohjin.DDD.Example), and trying to make it work in a web environment.  However, differently from the WinForms version, StructureMap keeps giving &#8220;TransacionalHandler&#8221; a new instance of &#8220;IEventStoreUnitOfWork&#8221;, which, by the way, is activated by asking for the instance of &#8220;Fohjin.DDD.EventStore.IUnitOfWork&#8221;.  Since I&#8217;m new to StructureMap, I&#8217;m having some hard time to make it work as it should.  Can you give me some advice?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-51447</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Tue, 15 Dec 2009 22:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-51447</guid>
		<description>I currently also don&#039;t need to register the events in the AR anymore I&#039;ll write something about this shortly.</description>
		<content:encoded><![CDATA[<p>I currently also don&#8217;t need to register the events in the AR anymore I&#8217;ll write something about this shortly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reflective Perspective - Chris Alcock &#187; The Morning Brew #487</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52102</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:45:07 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52102</guid>
		<description>&lt;a href=&quot;#comment-52101&quot; rel=&quot;nofollow&quot;&gt;@Mike Chaliy&lt;/a&gt; 
Well if You look f.ex. at this test class that is really not using infrastructure, it is just using the same mechanism. 

http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs

Also I don&#039;t want to test state if I don&#039;t have to, using this way I get my AR into the expected state by using the same events as it would have used in the real scenario, and by validating the published events I test that I get the correct behavior out of my AR. This ensures that I cannot get my AR into a state for a test that is normally not possible to get into. And I can completely change the internal workings of my AR without breaking any tests. And finally I found this to be very simple to test and very readable, my setting state I don&#039;t necessarily see/know how it got that way.

I use protected properties for state purely because then it is hidden from the outside. State should be internal.

Also the proxy project has not been touched for a while (vacation time...), but I am still going to finish it so it will be re-usable. (mostly for me, but hey if others can as well than that would be great).</description>
		<content:encoded><![CDATA[<p><a href="#comment-52101" rel="nofollow">@Mike Chaliy</a><br />
Well if You look f.ex. at this test class that is really not using infrastructure, it is just using the same mechanism. </p>
<p><a href="http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs" rel="nofollow">http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs</a></p>
<p>Also I don&#8217;t want to test state if I don&#8217;t have to, using this way I get my AR into the expected state by using the same events as it would have used in the real scenario, and by validating the published events I test that I get the correct behavior out of my AR. This ensures that I cannot get my AR into a state for a test that is normally not possible to get into. And I can completely change the internal workings of my AR without breaking any tests. And finally I found this to be very simple to test and very readable, my setting state I don&#8217;t necessarily see/know how it got that way.</p>
<p>I use protected properties for state purely because then it is hidden from the outside. State should be internal.</p>
<p>Also the proxy project has not been touched for a while (vacation time&#8230;), but I am still going to finish it so it will be re-usable. (mostly for me, but hey if others can as well than that would be great).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comments on: CQRS &#8211; Trying to make it re-usable</title>
	<atom:link href="http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cqrs-trying-to-make-it-re-usable</link>
	<description></description>
	<lastBuildDate>Tue, 08 May 2012 09:13:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-53279</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Mon, 01 Feb 2010 10:06:53 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-53279</guid>
		<description>&lt;a href=&quot;#comment-53278&quot; rel=&quot;nofollow&quot;&gt;@Szymon Pobiega&lt;/a&gt; 
I would be more than happy to answer any questions you may have about my CQRS example, but I am afraid that I do not have enough time to join you on your example project. I have a few projects that I am already working on taking all my time. You can find my e-mail address in my Elegant Code profile page.</description>
		<content:encoded><![CDATA[<p><a href="#comment-53278" rel="nofollow">@Szymon Pobiega</a><br />
I would be more than happy to answer any questions you may have about my CQRS example, but I am afraid that I do not have enough time to join you on your example project. I have a few projects that I am already working on taking all my time. You can find my e-mail address in my Elegant Code profile page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Szymon Pobiega</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-53278</link>
		<dc:creator>Szymon Pobiega</dc:creator>
		<pubDate>Mon, 01 Feb 2010 09:37:19 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-53278</guid>
		<description>Hi Mark:)

I have just finished CQRS implementation of my DDDSample&#039;s .NET version. It is based (loosely) on Udi Dahan view of CQRS. For the sample to be complete, I would like to include also version based on your event sourcing implementation. Would you like to help me in this project?</description>
		<content:encoded><![CDATA[<p>Hi Mark:)</p>
<p>I have just finished CQRS implementation of my DDDSample&#8217;s .NET version. It is based (loosely) on Udi Dahan view of CQRS. For the sample to be complete, I would like to include also version based on your event sourcing implementation. Would you like to help me in this project?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elegant Code &#187; A web store using FubuMVC and CQRS</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52388</link>
		<dc:creator>Elegant Code &#187; A web store using FubuMVC and CQRS</dc:creator>
		<pubDate>Mon, 04 Jan 2010 20:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52388</guid>
		<description>[...] the development of my PI solution for this approach. You may read some initial thoughts about that here. Nothing beats developing something then driven by actual usage. I am also thinking about [...]</description>
		<content:encoded><![CDATA[<p>[...] the development of my PI solution for this approach. You may read some initial thoughts about that here. Nothing beats developing something then driven by actual usage. I am also thinking about [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Chaliy</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52103</link>
		<dc:creator>Mike Chaliy</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52103</guid>
		<description>Aha, thanks for responce, I will take a look.</description>
		<content:encoded><![CDATA[<p>Aha, thanks for responce, I will take a look.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52102</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:45:07 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52102</guid>
		<description>&lt;a href=&quot;#comment-52101&quot; rel=&quot;nofollow&quot;&gt;@Mike Chaliy&lt;/a&gt; 
Well if You look f.ex. at this test class that is really not using infrastructure, it is just using the same mechanism. 

http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs

Also I don&#039;t want to test state if I don&#039;t have to, using this way I get my AR into the expected state by using the same events as it would have used in the real scenario, and by validating the published events I test that I get the correct behavior out of my AR. This ensures that I cannot get my AR into a state for a test that is normally not possible to get into. And I can completely change the internal workings of my AR without breaking any tests. And finally I found this to be very simple to test and very readable, my setting state I don&#039;t necessarily see/know how it got that way.

I use protected properties for state purely because then it is hidden from the outside. State should be internal.

Also the proxy project has not been touched for a while (vacation time...), but I am still going to finish it so it will be re-usable. (mostly for me, but hey if others can as well than that would be great).</description>
		<content:encoded><![CDATA[<p><a href="#comment-52101" rel="nofollow">@Mike Chaliy</a><br />
Well if You look f.ex. at this test class that is really not using infrastructure, it is just using the same mechanism. </p>
<p><a href="http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs" rel="nofollow">http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs</a></p>
<p>Also I don&#8217;t want to test state if I don&#8217;t have to, using this way I get my AR into the expected state by using the same events as it would have used in the real scenario, and by validating the published events I test that I get the correct behavior out of my AR. This ensures that I cannot get my AR into a state for a test that is normally not possible to get into. And I can completely change the internal workings of my AR without breaking any tests. And finally I found this to be very simple to test and very readable, my setting state I don&#8217;t necessarily see/know how it got that way.</p>
<p>I use protected properties for state purely because then it is hidden from the outside. State should be internal.</p>
<p>Also the proxy project has not been touched for a while (vacation time&#8230;), but I am still going to finish it so it will be re-usable. (mostly for me, but hey if others can as well than that would be great).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Chaliy</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52101</link>
		<dc:creator>Mike Chaliy</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52101</guid>
		<description>Looks much better :). Thanks for your efforts. Another complain about previous implementation was inability to test domain entities without infrastructure. Do you have something in mind to address this?

BTW, here we also use automatic properties for state, they look bit different:

public virtual Address Address { get; internal set; }

This also allows proxies, but enable simple testing.</description>
		<content:encoded><![CDATA[<p>Looks much better <img src='http://elegantcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Thanks for your efforts. Another complain about previous implementation was inability to test domain entities without infrastructure. Do you have something in mind to address this?</p>
<p>BTW, here we also use automatic properties for state, they look bit different:</p>
<p>public virtual Address Address { get; internal set; }</p>
<p>This also allows proxies, but enable simple testing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adriano Machado</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-51508</link>
		<dc:creator>Adriano Machado</dc:creator>
		<pubDate>Thu, 17 Dec 2009 11:55:59 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-51508</guid>
		<description>Mark,

Thank you for this great piece of work.  I&#039;m studying the first implementation (Fohjin.DDD.Example), and trying to make it work in a web environment.  However, differently from the WinForms version, StructureMap keeps giving &quot;TransacionalHandler&quot; a new instance of &quot;IEventStoreUnitOfWork&quot;, which, by the way, is activated by asking for the instance of &quot;Fohjin.DDD.EventStore.IUnitOfWork&quot;.  Since I&#039;m new to StructureMap, I&#039;m having some hard time to make it work as it should.  Can you give me some advice?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>Thank you for this great piece of work.  I&#8217;m studying the first implementation (Fohjin.DDD.Example), and trying to make it work in a web environment.  However, differently from the WinForms version, StructureMap keeps giving &#8220;TransacionalHandler&#8221; a new instance of &#8220;IEventStoreUnitOfWork&#8221;, which, by the way, is activated by asking for the instance of &#8220;Fohjin.DDD.EventStore.IUnitOfWork&#8221;.  Since I&#8217;m new to StructureMap, I&#8217;m having some hard time to make it work as it should.  Can you give me some advice?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-51447</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Tue, 15 Dec 2009 22:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-51447</guid>
		<description>I currently also don&#039;t need to register the events in the AR anymore I&#039;ll write something about this shortly.</description>
		<content:encoded><![CDATA[<p>I currently also don&#8217;t need to register the events in the AR anymore I&#8217;ll write something about this shortly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reflective Perspective - Chris Alcock &#187; The Morning Brew #487</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52101</link>
		<dc:creator>Mike Chaliy</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52101</guid>
		<description>Looks much better :). Thanks for your efforts. Another complain about previous implementation was inability to test domain entities without infrastructure. Do you have something in mind to address this?

BTW, here we also use automatic properties for state, they look bit different:

public virtual Address Address { get; internal set; }

This also allows proxies, but enable simple testing.</description>
		<content:encoded><![CDATA[<p>Looks much better <img src='http://elegantcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Thanks for your efforts. Another complain about previous implementation was inability to test domain entities without infrastructure. Do you have something in mind to address this?</p>
<p>BTW, here we also use automatic properties for state, they look bit different:</p>
<p>public virtual Address Address { get; internal set; }</p>
<p>This also allows proxies, but enable simple testing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comments on: CQRS &#8211; Trying to make it re-usable</title>
	<atom:link href="http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cqrs-trying-to-make-it-re-usable</link>
	<description></description>
	<lastBuildDate>Tue, 08 May 2012 09:13:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-53279</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Mon, 01 Feb 2010 10:06:53 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-53279</guid>
		<description>&lt;a href=&quot;#comment-53278&quot; rel=&quot;nofollow&quot;&gt;@Szymon Pobiega&lt;/a&gt; 
I would be more than happy to answer any questions you may have about my CQRS example, but I am afraid that I do not have enough time to join you on your example project. I have a few projects that I am already working on taking all my time. You can find my e-mail address in my Elegant Code profile page.</description>
		<content:encoded><![CDATA[<p><a href="#comment-53278" rel="nofollow">@Szymon Pobiega</a><br />
I would be more than happy to answer any questions you may have about my CQRS example, but I am afraid that I do not have enough time to join you on your example project. I have a few projects that I am already working on taking all my time. You can find my e-mail address in my Elegant Code profile page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Szymon Pobiega</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-53278</link>
		<dc:creator>Szymon Pobiega</dc:creator>
		<pubDate>Mon, 01 Feb 2010 09:37:19 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-53278</guid>
		<description>Hi Mark:)

I have just finished CQRS implementation of my DDDSample&#039;s .NET version. It is based (loosely) on Udi Dahan view of CQRS. For the sample to be complete, I would like to include also version based on your event sourcing implementation. Would you like to help me in this project?</description>
		<content:encoded><![CDATA[<p>Hi Mark:)</p>
<p>I have just finished CQRS implementation of my DDDSample&#8217;s .NET version. It is based (loosely) on Udi Dahan view of CQRS. For the sample to be complete, I would like to include also version based on your event sourcing implementation. Would you like to help me in this project?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elegant Code &#187; A web store using FubuMVC and CQRS</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52388</link>
		<dc:creator>Elegant Code &#187; A web store using FubuMVC and CQRS</dc:creator>
		<pubDate>Mon, 04 Jan 2010 20:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52388</guid>
		<description>[...] the development of my PI solution for this approach. You may read some initial thoughts about that here. Nothing beats developing something then driven by actual usage. I am also thinking about [...]</description>
		<content:encoded><![CDATA[<p>[...] the development of my PI solution for this approach. You may read some initial thoughts about that here. Nothing beats developing something then driven by actual usage. I am also thinking about [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Chaliy</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52103</link>
		<dc:creator>Mike Chaliy</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52103</guid>
		<description>Aha, thanks for responce, I will take a look.</description>
		<content:encoded><![CDATA[<p>Aha, thanks for responce, I will take a look.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52102</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:45:07 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52102</guid>
		<description>&lt;a href=&quot;#comment-52101&quot; rel=&quot;nofollow&quot;&gt;@Mike Chaliy&lt;/a&gt; 
Well if You look f.ex. at this test class that is really not using infrastructure, it is just using the same mechanism. 

http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs

Also I don&#039;t want to test state if I don&#039;t have to, using this way I get my AR into the expected state by using the same events as it would have used in the real scenario, and by validating the published events I test that I get the correct behavior out of my AR. This ensures that I cannot get my AR into a state for a test that is normally not possible to get into. And I can completely change the internal workings of my AR without breaking any tests. And finally I found this to be very simple to test and very readable, my setting state I don&#039;t necessarily see/know how it got that way.

I use protected properties for state purely because then it is hidden from the outside. State should be internal.

Also the proxy project has not been touched for a while (vacation time...), but I am still going to finish it so it will be re-usable. (mostly for me, but hey if others can as well than that would be great).</description>
		<content:encoded><![CDATA[<p><a href="#comment-52101" rel="nofollow">@Mike Chaliy</a><br />
Well if You look f.ex. at this test class that is really not using infrastructure, it is just using the same mechanism. </p>
<p><a href="http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs" rel="nofollow">http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs</a></p>
<p>Also I don&#8217;t want to test state if I don&#8217;t have to, using this way I get my AR into the expected state by using the same events as it would have used in the real scenario, and by validating the published events I test that I get the correct behavior out of my AR. This ensures that I cannot get my AR into a state for a test that is normally not possible to get into. And I can completely change the internal workings of my AR without breaking any tests. And finally I found this to be very simple to test and very readable, my setting state I don&#8217;t necessarily see/know how it got that way.</p>
<p>I use protected properties for state purely because then it is hidden from the outside. State should be internal.</p>
<p>Also the proxy project has not been touched for a while (vacation time&#8230;), but I am still going to finish it so it will be re-usable. (mostly for me, but hey if others can as well than that would be great).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Chaliy</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52101</link>
		<dc:creator>Mike Chaliy</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52101</guid>
		<description>Looks much better :). Thanks for your efforts. Another complain about previous implementation was inability to test domain entities without infrastructure. Do you have something in mind to address this?

BTW, here we also use automatic properties for state, they look bit different:

public virtual Address Address { get; internal set; }

This also allows proxies, but enable simple testing.</description>
		<content:encoded><![CDATA[<p>Looks much better <img src='http://elegantcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Thanks for your efforts. Another complain about previous implementation was inability to test domain entities without infrastructure. Do you have something in mind to address this?</p>
<p>BTW, here we also use automatic properties for state, they look bit different:</p>
<p>public virtual Address Address { get; internal set; }</p>
<p>This also allows proxies, but enable simple testing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adriano Machado</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-51508</link>
		<dc:creator>Adriano Machado</dc:creator>
		<pubDate>Thu, 17 Dec 2009 11:55:59 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-51508</guid>
		<description>Mark,

Thank you for this great piece of work.  I&#039;m studying the first implementation (Fohjin.DDD.Example), and trying to make it work in a web environment.  However, differently from the WinForms version, StructureMap keeps giving &quot;TransacionalHandler&quot; a new instance of &quot;IEventStoreUnitOfWork&quot;, which, by the way, is activated by asking for the instance of &quot;Fohjin.DDD.EventStore.IUnitOfWork&quot;.  Since I&#039;m new to StructureMap, I&#039;m having some hard time to make it work as it should.  Can you give me some advice?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>Thank you for this great piece of work.  I&#8217;m studying the first implementation (Fohjin.DDD.Example), and trying to make it work in a web environment.  However, differently from the WinForms version, StructureMap keeps giving &#8220;TransacionalHandler&#8221; a new instance of &#8220;IEventStoreUnitOfWork&#8221;, which, by the way, is activated by asking for the instance of &#8220;Fohjin.DDD.EventStore.IUnitOfWork&#8221;.  Since I&#8217;m new to StructureMap, I&#8217;m having some hard time to make it work as it should.  Can you give me some advice?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-51447</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Tue, 15 Dec 2009 22:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-51447</guid>
		<description>I currently also don&#039;t need to register the events in the AR anymore I&#039;ll write something about this shortly.</description>
		<content:encoded><![CDATA[<p>I currently also don&#8217;t need to register the events in the AR anymore I&#8217;ll write something about this shortly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reflective Perspective - Chris Alcock &#187; The Morning Brew #487</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-51508</link>
		<dc:creator>Adriano Machado</dc:creator>
		<pubDate>Thu, 17 Dec 2009 11:55:59 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-51508</guid>
		<description>Mark,

Thank you for this great piece of work.  I&#039;m studying the first implementation (Fohjin.DDD.Example), and trying to make it work in a web environment.  However, differently from the WinForms version, StructureMap keeps giving &quot;TransacionalHandler&quot; a new instance of &quot;IEventStoreUnitOfWork&quot;, which, by the way, is activated by asking for the instance of &quot;Fohjin.DDD.EventStore.IUnitOfWork&quot;.  Since I&#039;m new to StructureMap, I&#039;m having some hard time to make it work as it should.  Can you give me some advice?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>Thank you for this great piece of work.  I&#8217;m studying the first implementation (Fohjin.DDD.Example), and trying to make it work in a web environment.  However, differently from the WinForms version, StructureMap keeps giving &#8220;TransacionalHandler&#8221; a new instance of &#8220;IEventStoreUnitOfWork&#8221;, which, by the way, is activated by asking for the instance of &#8220;Fohjin.DDD.EventStore.IUnitOfWork&#8221;.  Since I&#8217;m new to StructureMap, I&#8217;m having some hard time to make it work as it should.  Can you give me some advice?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comments on: CQRS &#8211; Trying to make it re-usable</title>
	<atom:link href="http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cqrs-trying-to-make-it-re-usable</link>
	<description></description>
	<lastBuildDate>Tue, 08 May 2012 09:13:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-53279</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Mon, 01 Feb 2010 10:06:53 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-53279</guid>
		<description>&lt;a href=&quot;#comment-53278&quot; rel=&quot;nofollow&quot;&gt;@Szymon Pobiega&lt;/a&gt; 
I would be more than happy to answer any questions you may have about my CQRS example, but I am afraid that I do not have enough time to join you on your example project. I have a few projects that I am already working on taking all my time. You can find my e-mail address in my Elegant Code profile page.</description>
		<content:encoded><![CDATA[<p><a href="#comment-53278" rel="nofollow">@Szymon Pobiega</a><br />
I would be more than happy to answer any questions you may have about my CQRS example, but I am afraid that I do not have enough time to join you on your example project. I have a few projects that I am already working on taking all my time. You can find my e-mail address in my Elegant Code profile page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Szymon Pobiega</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-53278</link>
		<dc:creator>Szymon Pobiega</dc:creator>
		<pubDate>Mon, 01 Feb 2010 09:37:19 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-53278</guid>
		<description>Hi Mark:)

I have just finished CQRS implementation of my DDDSample&#039;s .NET version. It is based (loosely) on Udi Dahan view of CQRS. For the sample to be complete, I would like to include also version based on your event sourcing implementation. Would you like to help me in this project?</description>
		<content:encoded><![CDATA[<p>Hi Mark:)</p>
<p>I have just finished CQRS implementation of my DDDSample&#8217;s .NET version. It is based (loosely) on Udi Dahan view of CQRS. For the sample to be complete, I would like to include also version based on your event sourcing implementation. Would you like to help me in this project?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elegant Code &#187; A web store using FubuMVC and CQRS</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52388</link>
		<dc:creator>Elegant Code &#187; A web store using FubuMVC and CQRS</dc:creator>
		<pubDate>Mon, 04 Jan 2010 20:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52388</guid>
		<description>[...] the development of my PI solution for this approach. You may read some initial thoughts about that here. Nothing beats developing something then driven by actual usage. I am also thinking about [...]</description>
		<content:encoded><![CDATA[<p>[...] the development of my PI solution for this approach. You may read some initial thoughts about that here. Nothing beats developing something then driven by actual usage. I am also thinking about [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Chaliy</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52103</link>
		<dc:creator>Mike Chaliy</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52103</guid>
		<description>Aha, thanks for responce, I will take a look.</description>
		<content:encoded><![CDATA[<p>Aha, thanks for responce, I will take a look.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52102</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:45:07 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52102</guid>
		<description>&lt;a href=&quot;#comment-52101&quot; rel=&quot;nofollow&quot;&gt;@Mike Chaliy&lt;/a&gt; 
Well if You look f.ex. at this test class that is really not using infrastructure, it is just using the same mechanism. 

http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs

Also I don&#039;t want to test state if I don&#039;t have to, using this way I get my AR into the expected state by using the same events as it would have used in the real scenario, and by validating the published events I test that I get the correct behavior out of my AR. This ensures that I cannot get my AR into a state for a test that is normally not possible to get into. And I can completely change the internal workings of my AR without breaking any tests. And finally I found this to be very simple to test and very readable, my setting state I don&#039;t necessarily see/know how it got that way.

I use protected properties for state purely because then it is hidden from the outside. State should be internal.

Also the proxy project has not been touched for a while (vacation time...), but I am still going to finish it so it will be re-usable. (mostly for me, but hey if others can as well than that would be great).</description>
		<content:encoded><![CDATA[<p><a href="#comment-52101" rel="nofollow">@Mike Chaliy</a><br />
Well if You look f.ex. at this test class that is really not using infrastructure, it is just using the same mechanism. </p>
<p><a href="http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs" rel="nofollow">http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs</a></p>
<p>Also I don&#8217;t want to test state if I don&#8217;t have to, using this way I get my AR into the expected state by using the same events as it would have used in the real scenario, and by validating the published events I test that I get the correct behavior out of my AR. This ensures that I cannot get my AR into a state for a test that is normally not possible to get into. And I can completely change the internal workings of my AR without breaking any tests. And finally I found this to be very simple to test and very readable, my setting state I don&#8217;t necessarily see/know how it got that way.</p>
<p>I use protected properties for state purely because then it is hidden from the outside. State should be internal.</p>
<p>Also the proxy project has not been touched for a while (vacation time&#8230;), but I am still going to finish it so it will be re-usable. (mostly for me, but hey if others can as well than that would be great).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Chaliy</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52101</link>
		<dc:creator>Mike Chaliy</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52101</guid>
		<description>Looks much better :). Thanks for your efforts. Another complain about previous implementation was inability to test domain entities without infrastructure. Do you have something in mind to address this?

BTW, here we also use automatic properties for state, they look bit different:

public virtual Address Address { get; internal set; }

This also allows proxies, but enable simple testing.</description>
		<content:encoded><![CDATA[<p>Looks much better <img src='http://elegantcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Thanks for your efforts. Another complain about previous implementation was inability to test domain entities without infrastructure. Do you have something in mind to address this?</p>
<p>BTW, here we also use automatic properties for state, they look bit different:</p>
<p>public virtual Address Address { get; internal set; }</p>
<p>This also allows proxies, but enable simple testing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adriano Machado</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-51508</link>
		<dc:creator>Adriano Machado</dc:creator>
		<pubDate>Thu, 17 Dec 2009 11:55:59 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-51508</guid>
		<description>Mark,

Thank you for this great piece of work.  I&#039;m studying the first implementation (Fohjin.DDD.Example), and trying to make it work in a web environment.  However, differently from the WinForms version, StructureMap keeps giving &quot;TransacionalHandler&quot; a new instance of &quot;IEventStoreUnitOfWork&quot;, which, by the way, is activated by asking for the instance of &quot;Fohjin.DDD.EventStore.IUnitOfWork&quot;.  Since I&#039;m new to StructureMap, I&#039;m having some hard time to make it work as it should.  Can you give me some advice?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>Thank you for this great piece of work.  I&#8217;m studying the first implementation (Fohjin.DDD.Example), and trying to make it work in a web environment.  However, differently from the WinForms version, StructureMap keeps giving &#8220;TransacionalHandler&#8221; a new instance of &#8220;IEventStoreUnitOfWork&#8221;, which, by the way, is activated by asking for the instance of &#8220;Fohjin.DDD.EventStore.IUnitOfWork&#8221;.  Since I&#8217;m new to StructureMap, I&#8217;m having some hard time to make it work as it should.  Can you give me some advice?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-51447</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Tue, 15 Dec 2009 22:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-51447</guid>
		<description>I currently also don&#039;t need to register the events in the AR anymore I&#039;ll write something about this shortly.</description>
		<content:encoded><![CDATA[<p>I currently also don&#8217;t need to register the events in the AR anymore I&#8217;ll write something about this shortly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reflective Perspective - Chris Alcock &#187; The Morning Brew #487</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-51447</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Tue, 15 Dec 2009 22:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-51447</guid>
		<description>I currently also don&#039;t need to register the events in the AR anymore I&#039;ll write something about this shortly.</description>
		<content:encoded><![CDATA[<p>I currently also don&#8217;t need to register the events in the AR anymore I&#8217;ll write something about this shortly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comments on: CQRS &#8211; Trying to make it re-usable</title>
	<atom:link href="http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cqrs-trying-to-make-it-re-usable</link>
	<description></description>
	<lastBuildDate>Tue, 08 May 2012 09:13:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-53279</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Mon, 01 Feb 2010 10:06:53 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-53279</guid>
		<description>&lt;a href=&quot;#comment-53278&quot; rel=&quot;nofollow&quot;&gt;@Szymon Pobiega&lt;/a&gt; 
I would be more than happy to answer any questions you may have about my CQRS example, but I am afraid that I do not have enough time to join you on your example project. I have a few projects that I am already working on taking all my time. You can find my e-mail address in my Elegant Code profile page.</description>
		<content:encoded><![CDATA[<p><a href="#comment-53278" rel="nofollow">@Szymon Pobiega</a><br />
I would be more than happy to answer any questions you may have about my CQRS example, but I am afraid that I do not have enough time to join you on your example project. I have a few projects that I am already working on taking all my time. You can find my e-mail address in my Elegant Code profile page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Szymon Pobiega</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-53278</link>
		<dc:creator>Szymon Pobiega</dc:creator>
		<pubDate>Mon, 01 Feb 2010 09:37:19 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-53278</guid>
		<description>Hi Mark:)

I have just finished CQRS implementation of my DDDSample&#039;s .NET version. It is based (loosely) on Udi Dahan view of CQRS. For the sample to be complete, I would like to include also version based on your event sourcing implementation. Would you like to help me in this project?</description>
		<content:encoded><![CDATA[<p>Hi Mark:)</p>
<p>I have just finished CQRS implementation of my DDDSample&#8217;s .NET version. It is based (loosely) on Udi Dahan view of CQRS. For the sample to be complete, I would like to include also version based on your event sourcing implementation. Would you like to help me in this project?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elegant Code &#187; A web store using FubuMVC and CQRS</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52388</link>
		<dc:creator>Elegant Code &#187; A web store using FubuMVC and CQRS</dc:creator>
		<pubDate>Mon, 04 Jan 2010 20:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52388</guid>
		<description>[...] the development of my PI solution for this approach. You may read some initial thoughts about that here. Nothing beats developing something then driven by actual usage. I am also thinking about [...]</description>
		<content:encoded><![CDATA[<p>[...] the development of my PI solution for this approach. You may read some initial thoughts about that here. Nothing beats developing something then driven by actual usage. I am also thinking about [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Chaliy</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52103</link>
		<dc:creator>Mike Chaliy</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52103</guid>
		<description>Aha, thanks for responce, I will take a look.</description>
		<content:encoded><![CDATA[<p>Aha, thanks for responce, I will take a look.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52102</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:45:07 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52102</guid>
		<description>&lt;a href=&quot;#comment-52101&quot; rel=&quot;nofollow&quot;&gt;@Mike Chaliy&lt;/a&gt; 
Well if You look f.ex. at this test class that is really not using infrastructure, it is just using the same mechanism. 

http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs

Also I don&#039;t want to test state if I don&#039;t have to, using this way I get my AR into the expected state by using the same events as it would have used in the real scenario, and by validating the published events I test that I get the correct behavior out of my AR. This ensures that I cannot get my AR into a state for a test that is normally not possible to get into. And I can completely change the internal workings of my AR without breaking any tests. And finally I found this to be very simple to test and very readable, my setting state I don&#039;t necessarily see/know how it got that way.

I use protected properties for state purely because then it is hidden from the outside. State should be internal.

Also the proxy project has not been touched for a while (vacation time...), but I am still going to finish it so it will be re-usable. (mostly for me, but hey if others can as well than that would be great).</description>
		<content:encoded><![CDATA[<p><a href="#comment-52101" rel="nofollow">@Mike Chaliy</a><br />
Well if You look f.ex. at this test class that is really not using infrastructure, it is just using the same mechanism. </p>
<p><a href="http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs" rel="nofollow">http://github.com/MarkNijhof/Fohjin/blob/master/Fohjin.DDD.Example/Test.Fohjin.DDD/Scenarios/Withdrawing_cash/When_withdrawing_cash.cs</a></p>
<p>Also I don&#8217;t want to test state if I don&#8217;t have to, using this way I get my AR into the expected state by using the same events as it would have used in the real scenario, and by validating the published events I test that I get the correct behavior out of my AR. This ensures that I cannot get my AR into a state for a test that is normally not possible to get into. And I can completely change the internal workings of my AR without breaking any tests. And finally I found this to be very simple to test and very readable, my setting state I don&#8217;t necessarily see/know how it got that way.</p>
<p>I use protected properties for state purely because then it is hidden from the outside. State should be internal.</p>
<p>Also the proxy project has not been touched for a while (vacation time&#8230;), but I am still going to finish it so it will be re-usable. (mostly for me, but hey if others can as well than that would be great).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Chaliy</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-52101</link>
		<dc:creator>Mike Chaliy</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-52101</guid>
		<description>Looks much better :). Thanks for your efforts. Another complain about previous implementation was inability to test domain entities without infrastructure. Do you have something in mind to address this?

BTW, here we also use automatic properties for state, they look bit different:

public virtual Address Address { get; internal set; }

This also allows proxies, but enable simple testing.</description>
		<content:encoded><![CDATA[<p>Looks much better <img src='http://elegantcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Thanks for your efforts. Another complain about previous implementation was inability to test domain entities without infrastructure. Do you have something in mind to address this?</p>
<p>BTW, here we also use automatic properties for state, they look bit different:</p>
<p>public virtual Address Address { get; internal set; }</p>
<p>This also allows proxies, but enable simple testing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adriano Machado</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-51508</link>
		<dc:creator>Adriano Machado</dc:creator>
		<pubDate>Thu, 17 Dec 2009 11:55:59 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-51508</guid>
		<description>Mark,

Thank you for this great piece of work.  I&#039;m studying the first implementation (Fohjin.DDD.Example), and trying to make it work in a web environment.  However, differently from the WinForms version, StructureMap keeps giving &quot;TransacionalHandler&quot; a new instance of &quot;IEventStoreUnitOfWork&quot;, which, by the way, is activated by asking for the instance of &quot;Fohjin.DDD.EventStore.IUnitOfWork&quot;.  Since I&#039;m new to StructureMap, I&#039;m having some hard time to make it work as it should.  Can you give me some advice?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>Thank you for this great piece of work.  I&#8217;m studying the first implementation (Fohjin.DDD.Example), and trying to make it work in a web environment.  However, differently from the WinForms version, StructureMap keeps giving &#8220;TransacionalHandler&#8221; a new instance of &#8220;IEventStoreUnitOfWork&#8221;, which, by the way, is activated by asking for the instance of &#8220;Fohjin.DDD.EventStore.IUnitOfWork&#8221;.  Since I&#8217;m new to StructureMap, I&#8217;m having some hard time to make it work as it should.  Can you give me some advice?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nijhof</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-51447</link>
		<dc:creator>Mark Nijhof</dc:creator>
		<pubDate>Tue, 15 Dec 2009 22:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-51447</guid>
		<description>I currently also don&#039;t need to register the events in the AR anymore I&#039;ll write something about this shortly.</description>
		<content:encoded><![CDATA[<p>I currently also don&#8217;t need to register the events in the AR anymore I&#8217;ll write something about this shortly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reflective Perspective - Chris Alcock &#187; The Morning Brew #487</title>
		<link>http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/comment-page-1/#comment-50789</link>
		<dc:creator>Reflective Perspective - Chris Alcock &#187; The Morning Brew #487</dc:creator>
		<pubDate>Mon, 30 Nov 2009 10:29:10 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/28/cqrs-trying-to-make-it-re-usable/#comment-50789</guid>
		<description>[...] CQRS - Trying to make it re-usable - Mark Nijhof talks about his efforts to make his Command Query Responsibility Separation sample reusable, and along the way discusses Convention over Configuration [...]</description>
		<content:encoded><![CDATA[<p>[...] CQRS &#8211; Trying to make it re-usable &#8211; Mark Nijhof talks about his efforts to make his Command Query Responsibility Separation sample reusable, and along the way discusses Convention over Configuration [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

