﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Davy Brion commented on Batching WCF Calls</title><description>ok, now you no longer need to explicitly register Requests &amp; Replies
  
  
you can find the new implementation here:
  
http://davybrion.com/blog/2008/07/batching-wcf-calls-take-2/
</description><link>http://ayende.com/3387/batching-wcf-calls#comment4</link><guid>http://ayende.com/3387/batching-wcf-calls#comment4</guid><pubDate>Tue, 01 Jul 2008 20:00:02 GMT</pubDate></item><item><title>Davy Brion commented on Batching WCF Calls</title><description>the specific service interfaces are there in case you prefer to just call one specific method... it's also good for 'discoverability'
  
  
i actually like to have one class per message. depending on how many messages you have regarding products, it could be a huge class if you handled all of them in the same class.  Also, one class per message makes it really easy to have the container inject each dependency you need
</description><link>http://ayende.com/3387/batching-wcf-calls#comment3</link><guid>http://ayende.com/3387/batching-wcf-calls#comment3</guid><pubDate>Mon, 30 Jun 2008 08:51:14 GMT</pubDate></item><item><title>Daniel commented on Batching WCF Calls</title><description>I like the way it is done in NServiceBus - all you need is three interfaces (IMessage, IHandler&lt;TMessage&gt;, IBus). Just substitute the IBus for your IService and your done. Why bother to add specific service interfaces like IProductsService?
  
  
The interface IHandler&lt;TMessage&gt; has another advantage - one class can implement many of these, so you can have e.g. all product messages handling code in one class (you don't need one class per message anymore).
</description><link>http://ayende.com/3387/batching-wcf-calls#comment2</link><guid>http://ayende.com/3387/batching-wcf-calls#comment2</guid><pubDate>Mon, 30 Jun 2008 08:33:31 GMT</pubDate></item><item><title>Davy Brion commented on Batching WCF Calls</title><description>yea i'm not happy with the explicit registering either... i really want something better there so i'll look into your suggestion ;)
</description><link>http://ayende.com/3387/batching-wcf-calls#comment1</link><guid>http://ayende.com/3387/batching-wcf-calls#comment1</guid><pubDate>Mon, 30 Jun 2008 07:38:18 GMT</pubDate></item></channel></rss>